Dan Carpenter 567a23f438 [media] cx25821: off by one in cx25821_vidioc_s_input()
If "i" is 2 then when we call cx25821_video_mux() we'd end up going
past the end of the cx25821_boards[dev->board]->input[].

The INPUT() macro obfuscates what's going on in that function so it's
a bit hard to follow.  And as Mauro points out the hard coded 2 is
not very helpful.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-11-03 18:33:55 -02:00
..
2011-10-02 00:19:34 +02:00
2011-10-26 21:46:20 -07:00
2011-09-21 16:19:44 -04:00
2011-10-25 06:55:52 +02:00
2011-09-27 18:08:04 +02:00
2011-10-07 12:49:18 +01:00
2011-10-24 21:00:34 +02:00