diff options
author | Arnuschky <arnuschky@xylon.de> | 2010-07-27 04:48:08 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-08 22:43:06 -0400 |
commit | c75079cc2addedf958358b88306591a5f9c4fb00 (patch) | |
tree | d68c984fa804f8169f734bdab60a8660ec09e581 /drivers/media | |
parent | ede67a30f549e1872be57e7d6f5f9dd97bb372ae (diff) |
V4L/DVB: Report supported QAM modes on bt8xx
Here a small patch to get a TwinHan VT DST DVB-T card working with
kernels >= 2.6.32. Analogously to
http://linuxtv.org/hg/v4l-dvb/rev/0e735b509163 I had to:
"Fill in the .caps field in struct dst_dvbt_ops (around line 1763) with
all the supported QAM modulation methods to match the capabilities of
the card as implemented in function dst_set_modulation (around line
502). Note that beginning with linux kernel version 2.6.32 the
modulation method is checked (by function dvb_frontend_check_parameters
in file drivers/media/dvb/dvb-core/dvb_frontend.c) and thus tuning fails
if you use a modulation method that is not present in the .caps field."
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/dvb/bt8xx/dst.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/media/dvb/bt8xx/dst.c b/drivers/media/dvb/bt8xx/dst.c index 248a2a9d8416..caa4e18ed1c1 100644 --- a/drivers/media/dvb/bt8xx/dst.c +++ b/drivers/media/dvb/bt8xx/dst.c | |||
@@ -1763,7 +1763,15 @@ static struct dvb_frontend_ops dst_dvbt_ops = { | |||
1763 | .frequency_min = 137000000, | 1763 | .frequency_min = 137000000, |
1764 | .frequency_max = 858000000, | 1764 | .frequency_max = 858000000, |
1765 | .frequency_stepsize = 166667, | 1765 | .frequency_stepsize = 166667, |
1766 | .caps = FE_CAN_FEC_AUTO | FE_CAN_QAM_AUTO | FE_CAN_TRANSMISSION_MODE_AUTO | FE_CAN_GUARD_INTERVAL_AUTO | 1766 | .caps = FE_CAN_FEC_AUTO | |
1767 | FE_CAN_QAM_AUTO | | ||
1768 | FE_CAN_QAM_16 | | ||
1769 | FE_CAN_QAM_32 | | ||
1770 | FE_CAN_QAM_64 | | ||
1771 | FE_CAN_QAM_128 | | ||
1772 | FE_CAN_QAM_256 | | ||
1773 | FE_CAN_TRANSMISSION_MODE_AUTO | | ||
1774 | FE_CAN_GUARD_INTERVAL_AUTO | ||
1767 | }, | 1775 | }, |
1768 | 1776 | ||
1769 | .release = dst_release, | 1777 | .release = dst_release, |