Skip to contentSkip to conversation

fix ATSC api conversion

PATCH In review Anssi Hannula 1 participant 2 messages May 23, 2008 – Jul 4, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix ATSC api conversion

Hi!

The attached patch fixes ATSC conversion in olddrv_to_newapi.

Signature · 1 line
Anssi Hannula

From: Anssi Hannula <[email protected]>

multiproto: fix ATSC conversion in olddrv_to_newapi

In olddrv_to_newapi() the ATSC modulation conversion used newmod_to_oldmod() instead of the correct oldmod_to_newmod(). Fix it.

---

linux/drivers/media/dvb/dvb-core/dvb_frontend.c +1 -1
diff -r 46df93f7bcee -r 6fdfb2b22241 linux/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -562,7 +562,7 @@
 		}
 		break;
 	case FE_ATSC:
-		newmod_to_oldmod(atsc->modulation, &vsb->modulation);
+		oldmod_to_newmod(vsb->modulation, &atsc->modulation);
 		break;
 	default:
 		dprintk("%s: Unsupported delivery system %x\n", __func__, fe_type);

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#1 lore raw

(CC'd Manu Abraham, who seems to have made the last commits in multiproto)

Quoted 1 line · Anssi Hannula

The attached patch fixes ATSC conversion in olddrv_to_newapi.

It has been some 1,5 months since I posted my patches. They haven't yet been applied to multiproto tree or commented on by devs, maybe they were missed (or I wasn't aware of some procedure)?

The patches are in ml archive:
http://linuxtv.org/pipermail/linux-dvb/2008-May/026242.html
http://linuxtv.org/pipermail/linux-dvb/2008-May/026243.html

Signature · 6 lines
Anssi Hannula

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb