]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (12294): b2c2: Use dvb-pll for Cablestar2
authorTrent Piepho <xyzzy@speakeasy.org>
Thu, 11 Jun 2009 22:31:22 +0000 (19:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 12 Sep 2009 15:17:52 +0000 (12:17 -0300)
commita3d39736c5b4206440da1a0876429346e60f07c5
tree56f394027da52b1fc6219a2402898381bf87f79b
parentd62e3f966103686798a7f13d31a8395cf5ab8cc9
V4L/DVB (12294): b2c2: Use dvb-pll for Cablestar2

The dvb-pll code should do the same thing that
alps_tdee4_stv0297_tuner_set_params() was doing.  Except the dvb-pll code
will check for tuner presence when attaching, while the old code didn't.

This tuner appears to not be behind the stv0297's I2C gate but is instead
on a different I2C adapter provided by the flexcop chip.  The old code
would turn the I2C gate off each time the tuner was used.  I've changed it
to turn the gate off when the tuner is attached and then disable the gate
control function.  This should result in the gate staying off, which should
be even better.

[hverkuil@xs4all.nl: fix compile error]

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/b2c2/flexcop-fe-tuner.c