V4L/DVB (12238): em28xx: call sensor detection code for all webcam entries
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 13 Jul 2009 04:28:21 +0000 (01:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 24 Jul 2009 17:03:24 +0000 (14:03 -0300)
commitb04fb6615285d18df34ffd6cdd51db7a8a78dda0
tree0091474355e5547e657563752a36aadab7438e25
parent9873740b2f41b37ec074afd4b8910b87dbebc0db
V4L/DVB (12238): em28xx: call sensor detection code for all webcam entries

With the previous approach, autodetection were working only for the two
generic entries (em275x and em2820 unknown ones). So, if someone would
try to force probing an specific device, the code would not properly run
the autodetection code.

With the new approach, the sensor autodetection will be run not only for
the two generic entries, but also do webcam specific ones.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-cards.c