V4L/DVB (7978): cx18: explicitly test for XC2028 tuner
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 30 May 2008 14:03:12 +0000 (11:03 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 5 Jun 2008 09:35:54 +0000 (06:35 -0300)
commit4ecc24737700f07d6c2a8fdf8c1737e399f1830f
treecf6e57d692b3113086f8456aaf06619295cc6818
parent5e7fdc5ed820516f8253cc7daad27cf3ee6bd784
V4L/DVB (7978): cx18: explicitly test for XC2028 tuner

Testing whether xceive_pin is non-zero is not good enough as 0 is a valid
value. Instead explicitly test whether the Xceive tuner is used.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx18/cx18-gpio.c