]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (8010): em28xx: Properly register extensions for already attached devices
authorDevin Heitmueller <devin.heitmueller@gmail.com>
Mon, 9 Jun 2008 17:58:04 +0000 (14:58 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 26 Jun 2008 18:58:42 +0000 (15:58 -0300)
commit2afcd348ee112c191768cd8ebbdb02b0511db62a
tree04d358f2933b62b63482f977b3b9efe196fcda55
parentf6d5aa36c1f38988c04597cf02fc6d41444cb9e5
V4L/DVB (8010): em28xx: Properly register extensions for already attached devices

em28xx-video.c
 - Properly handle loading of the module when multiple devices are already
   connected (such as at bootup).  Before we were only calling dvb_init()
   against the last device in the list, so while we were handling subsequent
   adds properly, if there were multiple devices present on driver load,
   everybody except the last device would not get initialized.

Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/em28xx/em28xx-video.c