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)
commit0367ca1bc7346d9ea89a4b4f1b9220489bda65a3
tree04d358f2933b62b63482f977b3b9efe196fcda55
parentd3d9b803eead0a536d28ffc31c5fadae976991cc
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