[PATCH] Make s2api work for ATSC support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

The following patch allows ATSC to work for the S2API.

This should be pushed into 2.6.28 too, or else s2API is going to be
100% broken for ATSC devices.

Regards,

Devin

(put mchehab and stoth on the cc: per Mauro's instruction)

-- 
Devin J. Heitmueller
http://www.devinheitmueller.com
AIM: devinheitmueller
s2api - ATSC should be considered a legacy delivery system

From: Devin Heitmueller <devin.heitmueller@xxxxxxxxx>

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)

Signed-off-by: Devin Heitmueller <devin.heitmueller@xxxxxxxxx>

diff -r 46604f47fca1 linux/drivers/media/dvb/dvb-core/dvb_frontend.c
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c	Fri Nov 07 15:24:18 2008 -0200
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c	Sun Nov 09 21:04:05 2008 -0500
@@ -1064,7 +1064,8 @@
 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;
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux