[media] cx88: kernel bz#9476: Fix tone setting for Nova-S+ model 92001
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 5 Apr 2013 15:18:54 +0000 (12:18 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 8 Apr 2013 09:56:47 +0000 (06:56 -0300)
commit48a8a03b5806179f12dd6994a6957f797c13675f
tree63c7bf1f777bfa446859228375e37a14975eb33a
parenta9bd87c232b87014b20fdf52416f80c5c1e869fc
[media] cx88: kernel bz#9476: Fix tone setting for Nova-S+ model 92001

Hauppauge Nova-S-Plus DVB-S model 92001 does not lock on horizontal
polarisation. According with the info provided at the BZ, model
92002 does.

The difference is that, on model 92001, the tone select is done via
isl6421, while, on other devices, this is done via cx24123 code.
This patch adds a way to override the demod's set_tone at isl6421
driver. In order to avoid regressions, the override is enabled
only for cx88 Nova S plus model 92001. For all other models and
devices, the set_tone is provided by the demod driver.

Patch originally proposed at bz@9476[1] by Michel Meyers and
John Donoghue but applying the original patch would break support
for all other devices based on isl6421.

[1] https://bugzilla.kernel.org/show_bug.cgi?id=9476

Tested-by: Adam Sampson <ats@offog.org>
Tested-by: Hans-Peter Jansen <hpj@urpla.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/b2c2/flexcop-fe-tuner.c
drivers/media/dvb-frontends/isl6421.c
drivers/media/dvb-frontends/isl6421.h
drivers/media/pci/cx88/cx88-cards.c
drivers/media/pci/cx88/cx88-dvb.c
drivers/media/pci/cx88/cx88.h
drivers/media/pci/saa7134/saa7134-dvb.c