V4L/DVB (6840): tuner: convert tda9887 to use TUNER_SET_CONFIG
authorMichael Krufky <mkrufky@linuxtv.org>
Sun, 16 Dec 2007 22:53:32 +0000 (19:53 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:03:54 +0000 (19:03 -0200)
commit710401b837f8849dc9c28385eb5298746b811305
tree25a556fa0f840a5d115abefac344181fd2caea00
parentf1c9a281005f714fdc57c830a23f2b6bd6e2b714
V4L/DVB (6840): tuner: convert tda9887 to use TUNER_SET_CONFIG

Use TUNER_SET_CONFIG to set configuration in tda9887's private state
structure, rather than storing tda9887-specific configuration within
struct tuner.

Update handling of TUNER_SET_CONFIG by tuner-core, to call
&t->fe.ops.analog_demod_ops rather than &t->fe.ops.tuner_ops

analog_demod_ops.set_config passes the request to tuner_ops.set_config,
so this does not break other drivers.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tda9887.c
drivers/media/video/tuner-core.c
drivers/media/video/tuner-driver.h