V4L/DVB (10192): em28xx: fix input selection
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 8 Jan 2009 01:49:25 +0000 (22:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 29 Jan 2009 10:35:36 +0000 (08:35 -0200)
commit24c3c41584b9331be5e0d18d46943729a5bd2d4e
tree1a94f7f4a0134abb4acd7647462596853614582c
parent18e352e4a73465349711a9324767e1b2453383e2
V4L/DVB (10192): em28xx: fix input selection

em28xx were trying to access the third input entry, even for boards that
don't support it.

This patch reviews the input mux selection fixing this bug and a few
other troubles, like not validating the input on one userspace ioctl.

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