]> err.no Git - linux-2.6/commit
V4L/DVB (6783): tuner: combine set_tv_freq and set_radio_freq into a single set_param...
authorMichael Krufky <mkrufky@linuxtv.org>
Sat, 8 Dec 2007 20:06:30 +0000 (17:06 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:03:27 +0000 (19:03 -0200)
commitc7919d520f4c9a064ae14bc4dd170c4c12ead2af
treea7cbff8f2a09c710942783a84cb44098ed1507d8
parent6881647cce09931f3d787ab83b5250436427ceb9
V4L/DVB (6783): tuner: combine set_tv_freq and set_radio_freq into a single set_params method

We can tell whether we are tuning television or radio by testing for
struct analog_parameters *params->mode == V4L2_TUNER_RADIO

There is no longer any need for separate set_tv_freq and
set_radio_freq functions in the analog tuner demodulator modules.

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