[media] cx25821: s_input didn't check for invalid input
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 13 Apr 2013 10:39:19 +0000 (07:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Apr 2013 21:02:23 +0000 (18:02 -0300)
commit6b1dce251fa21caea4e0021fd3fd0d8dcdece784
treec2c4865afb070de8d74d0b44ebc594275231348b
parenta8f35ce3d6f5b776463f03403e0319c2415401f7
[media] cx25821: s_input didn't check for invalid input

The s_input implementation allowed input 1 even if that didn't exist.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/cx25821/cx25821-video.c