aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevin Heitmueller <devin.heitmueller@gmail.com>2008-11-15 22:33:32 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-11-16 20:56:11 -0500
commit3fa37deb1a287e100c7db5b4f964784fd664bee9 (patch)
tree1b1c729410bfe1b1b927f7f37907d66fc2a4a169
parentc41109fc9a13c6af0e4069dd92fdb4c5c8046649 (diff)
V4L/DVB (9631): Make s2api work for ATSC support
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>
-rw-r--r--drivers/media/dvb/dvb-core/dvb_frontend.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
index 8557bf12cfb4..b38cebe3ac1c 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -934,7 +934,8 @@ void dtv_property_dump(struct dtv_property *tvp)
934int is_legacy_delivery_system(fe_delivery_system_t s) 934int is_legacy_delivery_system(fe_delivery_system_t s)
935{ 935{
936 if((s == SYS_UNDEFINED) || (s == SYS_DVBC_ANNEX_AC) || 936 if((s == SYS_UNDEFINED) || (s == SYS_DVBC_ANNEX_AC) ||
937 (s == SYS_DVBC_ANNEX_B) || (s == SYS_DVBT) || (s == SYS_DVBS)) 937 (s == SYS_DVBC_ANNEX_B) || (s == SYS_DVBT) || (s == SYS_DVBS) ||
938 (s == SYS_ATSC))
938 return 1; 939 return 1;
939 940
940 return 0; 941 return 0;