* [REGRESSION][PATCH] Fix kernel 3.3 DVB-S support
@ 2012-03-19 12:58 Knut Petersen
0 siblings, 0 replies; only message in thread
From: Knut Petersen @ 2012-03-19 12:58 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-media, Linus Torvalds, Mauro Carvalho Chehab, Greg KH
[-- Attachment #1: Type: text/plain, Size: 139 bytes --]
Kernel 3.3 breaks DVB-S reception on the
Hauppauge WinTV Nova HD-S2 and similar
cards.
The attached patch fixes this problem.
cu,
knut
[-- Attachment #2: 0001-Fix-DVB-S-regression-caused-by-a-missing-initializat.patch --]
[-- Type: text/x-patch, Size: 1246 bytes --]
>From 10934b412eb30fa815bad392b120eb9b83fe4ab5 Mon Sep 17 00:00:00 2001
From: Knut Petersen <Knut_Petersen@t-online.de>
Date: Mon, 19 Mar 2012 13:31:24 +0100
Subject: [PATCH] Fix DVB-S regression caused by a missing initialization
commit 7e0722215a510921cbb73ab4c37477d4dcb91bf8 killed
struct dvb_frontend_parameters and introduced bool re_tune
instead, but the patch missed that re_tune needs an
initialization here (previously the same effect was
reached by the params = NULL).
This patch fixes broken DVB-S support for the Hauppauge
WinTV Nova HD-S2 and similar hardware in kernel 3.3.
Signed-off-by: Knut Petersen <Knut_Petersen@t-online.de>
---
drivers/media/dvb/dvb-core/dvb_frontend.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
index fbbe545..a9602e0 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -650,6 +650,7 @@ restart:
switch (algo) {
case DVBFE_ALGO_HW:
dprintk("%s: Frontend ALGO = DVBFE_ALGO_HW\n", __func__);
+ re_tune = false;
if (fepriv->state & FESTATE_RETUNE) {
dprintk("%s: Retune requested, FESTATE_RETUNE\n", __func__);
--
1.7.9.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-19 12:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-19 12:58 [REGRESSION][PATCH] Fix kernel 3.3 DVB-S support Knut Petersen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).