DVB Update [PATCH 31/31] fix broken translation for ATSC
From: Manu Abraham
Date: Thu Sep 04 2008 - 16:36:39 EST
>From 76f0d0929582d49a0c4a0aa4aefe4e5dea0c1267 Mon Sep 17 00:00:00 2001
From: Manu Abraham <manu@xxxxxxxxxxx>
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 <anssi.hannula@xxxxxxxxx>
Signed-off-by: Anssi Hannula <anssi.hannula@xxxxxxxxx>
Signed-off-by: Manu Abraham <manu@xxxxxxxxxxx>
dvb_frontend.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
>From 76f0d0929582d49a0c4a0aa4aefe4e5dea0c1267 Mon Sep 17 00:00:00 2001
From: Manu Abraham <manu@xxxxxxxxxxx>
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 <anssi.hannula@xxxxxxxxx>
Signed-off-by: Anssi Hannula <anssi.hannula@xxxxxxxxx>
Signed-off-by: Manu Abraham <manu@xxxxxxxxxxx>
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
index a8005ef..fcafcfc 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -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);