Skip to contentSkip to conversation

DVB Update [PATCH 31/31] fix broken translation for ATSC

PATCH Manu Abraham 1 participant 1 message Sep 4, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

From 76f0d0929582d49a0c4a0aa4aefe4e5dea0c1267 Mon Sep 17 00:00:00 2001

From: Manu Abraham <[email protected]>
Date: Thu, 4 Sep 2008 15:01:36 +0200
Subject: [PATCH] DVB fix broken translation for ATSC 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.

From: Anssi Hannula <[email protected]>

 dvb_frontend.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 1 line

From 76f0d0929582d49a0c4a0aa4aefe4e5dea0c1267 Mon Sep 17 00:00:00 2001

From: Manu Abraham <[email protected]>
Date: Thu, 4 Sep 2008 15:01:36 +0200
Subject: [PATCH] DVB fix broken translation for ATSC 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.

From: Anssi Hannula <[email protected]>

drivers/media/dvb/dvb-core/dvb_frontend.c +1 -1
index a8005ef..fcafcfc 100644
@@ -557,7 +557,7 @@ int olddrv_to_newapi(struct dvb_frontend *fe,
 		}
 		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);