Skip to contentSkip to conversation

DVB Update [PATCH 24/31] multiproto tree

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

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

From dacdc1e893068e7694a55fe140016bb6e56bc35f Mon Sep 17 00:00:00 2001

From: Manu Abraham <[email protected]>
Date: Thu, 4 Sep 2008 14:33:07 +0200
Subject: [PATCH] DVB fix broken DVB-T backward compatibility

due to a missing break DVB-T backward compatibility was broken all the way. The patch fixes the same.

From: Reinhard Nissl <[email protected]>

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

From dacdc1e893068e7694a55fe140016bb6e56bc35f Mon Sep 17 00:00:00 2001

From: Manu Abraham <[email protected]>
Date: Thu, 4 Sep 2008 14:33:07 +0200
Subject: [PATCH] DVB fix broken DVB-T backward compatibility

due to a missing break DVB-T backward compatibility was broken all the way. The patch fixes the same.

From: Reinhard Nissl <[email protected]>

drivers/media/dvb/dvb-core/dvb_frontend.c +2 -1
index 7311f0c..c54b12c 100644
@@ -407,7 +407,7 @@ int newapi_to_olddrv(struct dvbfe_params *params,
 			ofdm->transmission_mode = TRANSMISSION_MODE_AUTO;
 			break;
 		default:
-			dprintk("%s: Unsupported transmission mode %x\n", __func__, dvbt->bandwidth);
+			dprintk("%s: Unsupported transmission mode %x\n", __func__, dvbt->transmission_mode);
 			return -EINVAL;
 		}
 		switch (dvbt->guard_interval) {
@@ -448,6 +448,7 @@ int newapi_to_olddrv(struct dvbfe_params *params,
 			}
 			break;
 		}
+		break;
 	case DVBFE_DELSYS_ATSC:
 		newmod_to_oldmod(atsc->modulation, &vsb->modulation);
 		break;