diff options
author | Andy Walls <[email protected]> | 2011-10-24 00:51:11 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2011-11-03 07:42:21 -0200 |
commit | c8c741b6eeb7c5c514a3177fd28225bff454b08f (patch) | |
tree | 5434299afca1da50fb30857d50c61094a08a0da7 | |
parent | 8f33450a4c886774345d606d615cf6b50fa193b7 (diff) |
[media] cx18: Fix FM radio
The cx18 driver was not setting up the analog tuner driver to enable
FM radio. This change fixes that. Thanks go to Ian Armstrong for
reporting and fixing the analogous problem in ivtv.
Signed-off-by: Andy Walls <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
-rw-r--r-- | drivers/media/video/cx18/cx18-driver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/cx18/cx18-driver.c b/drivers/media/video/cx18/cx18-driver.c index 9e2f870f4258..c6ff32a6137c 100644 --- a/drivers/media/video/cx18/cx18-driver.c +++ b/drivers/media/video/cx18/cx18-driver.c @@ -1085,6 +1085,8 @@ static int __devinit cx18_probe(struct pci_dev *pci_dev, setup.addr = ADDR_UNSET; setup.type = cx->options.tuner; setup.mode_mask = T_ANALOG_TV; /* matches TV tuners */ + if (cx->options.radio > 0) + setup.mode_mask |= T_RADIO; setup.tuner_callback = (setup.type == TUNER_XC2028) ? cx18_reset_tuner_gpio : NULL; cx18_call_all(cx, tuner, s_type_addr, &setup); |