All of lore.kernel.org
 help / color / mirror / Atom feed
* DVB Update [PATCH 24/31] fix broken DVB-T backward compat
@ 2008-09-04 20:26 Manu Abraham
  0 siblings, 0 replies; only message in thread
From: Manu Abraham @ 2008-09-04 20:26 UTC (permalink / raw)
  To: linux-kernel, v4l-dvb-maintainer, akpm; +Cc: rnissl

[-- Attachment #1: Type: text/plain, Size: 519 bytes --]

>From dacdc1e893068e7694a55fe140016bb6e56bc35f Mon Sep 17 00:00:00 2001
From: Manu Abraham <manu@linuxtv.org>
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 <rnissl@gmx.de>
Signed-off-by: Reinhard Nissl <rnissl@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>

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


[-- Attachment #2: 24.patch --]
[-- Type: text/x-patch, Size: 1243 bytes --]

>From dacdc1e893068e7694a55fe140016bb6e56bc35f Mon Sep 17 00:00:00 2001
From: Manu Abraham <manu@linuxtv.org>
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 <rnissl@gmx.de>
Signed-off-by: Reinhard Nissl <rnissl@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>

diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
index 7311f0c..c54b12c 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -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;


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-04 20:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-04 20:26 DVB Update [PATCH 24/31] fix broken DVB-T backward compat Manu Abraham

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.