[multiproto patch] fix ATSC api conversion

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

 



Hi!

The attached patch fixes ATSC conversion in olddrv_to_newapi.

-- 
Anssi Hannula
From: Anssi Hannula <anssi.hannula@xxxxxxxxx>

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.

Signed-off-by: Anssi Hannula <anssi.hannula@xxxxxxxxx>

---

diff -r 46df93f7bcee -r 6fdfb2b22241 linux/drivers/media/dvb/dvb-core/dvb_frontend.c
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c	Sun Apr 13 17:52:40 2008 +0400
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c	Fri May 23 17:17:02 2008 +0300
@@ -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
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