>>From 76f0d0929582d49a0c4a0aa4aefe4e5dea0c1267 Mon Sep 17 00:00:00 2001 From: Manu Abraham 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 Signed-off-by: Anssi Hannula Signed-off-by: Manu Abraham 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);