summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-11-16 03:33:32 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-11-16 03:33:32 +0000
commitd5c5bfeb8f2b68be7f6143e33d1f42395b1a9950 (patch)
tree0b771288b95d9afaaa43a8b303260bc102c7fc76 /linux/drivers/media/dvb
parent7935f148ab5a647aa7a06b8cc0b4f509a124a961 (diff)
downloadmediapointer-dvb-s2-d5c5bfeb8f2b68be7f6143e33d1f42395b1a9950.tar.gz
mediapointer-dvb-s2-d5c5bfeb8f2b68be7f6143e33d1f42395b1a9950.tar.bz2
Make s2api work for ATSC support
From: Devin Heitmueller <devin.heitmueller@gmail.com> ATSC should be considered a legacy delivery system, or else fields such as p->u.vsb.modulation do not get populated (resulting in set_frontend failures) CC: Steven Toth <stoth@linuxtv.org> Signed-off-by: Devin Heitmueller <devin.heitmueller@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_frontend.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
index 4d668e16d..3082ceb8b 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -1064,7 +1064,8 @@ void dtv_property_dump(struct dtv_property *tvp)
int is_legacy_delivery_system(fe_delivery_system_t s)
{
if((s == SYS_UNDEFINED) || (s == SYS_DVBC_ANNEX_AC) ||
- (s == SYS_DVBC_ANNEX_B) || (s == SYS_DVBT) || (s == SYS_DVBS))
+ (s == SYS_DVBC_ANNEX_B) || (s == SYS_DVBT) || (s == SYS_DVBS) ||
+ (s == SYS_ATSC))
return 1;
return 0;