]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (9631): Make s2api work for ATSC support
authorDevin Heitmueller <devin.heitmueller@gmail.com>
Sun, 16 Nov 2008 03:33:32 +0000 (00:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 17 Nov 2008 01:56:11 +0000 (23:56 -0200)
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>
drivers/media/dvb/dvb-core/dvb_frontend.c

index 8557bf12cfb46f98893a0ed770e58e8e74ad321d..b38cebe3ac1c2e8932117b36ec36cca4780a4dcf 100644 (file)
@@ -934,7 +934,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;