]> bbs.cooldavid.org Git - net-next-2.6.git/commit
V4L/DVB: cx25840: Fix composite detection
authorKusanagi Kouichi <slash@ac.auone-net.jp>
Fri, 22 Jan 2010 07:54:46 +0000 (04:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:50 +0000 (15:10 -0300)
commit10e43d90da572f088f15cadfb5cc83cd762041c3
treec0085b2ac7c65424b7007b97c80954365a372758
parent55461f4c584e812bb8e19c3fb1924edd512ea74c
V4L/DVB: cx25840: Fix composite detection

If CX25840_VIN1_CH1 and the like is used, input is not detected as composite.
Their value is 0x800000XX and CX25840_COMPONENT_ON is 0x80000200. So

   739 else if ((vid_input & CX25840_COMPONENT_ON) == 0)

this condition never be true.

Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>
Reviewed-by: Andy Walls <awalls@radix.net>
Acked-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx25840/cx25840-core.c