[kernel/f15] Fix DVB-S zig-zag logic

mchehab mchehab at fedoraproject.org
Tue May 8 10:51:57 UTC 2012


commit 29201d8820533bb60021f9f1b323505d12f93383
Author: Mauro Carvalho Chehab <mchehab at redhat.com>
Date:   Mon May 7 14:50:48 2012 -0300

    Fix DVB-S zig-zag logic
    
    This logic got broken by the dvb_frontend.c rewrite.
    
    Signed-off-by: Mauro Carvalho Chehab <mchehab at redhat.com>

 dvbs-fix-zigzag.patch |   15 +++++++++++++++
 kernel.spec           |    7 ++++++-
 2 files changed, 21 insertions(+), 1 deletions(-)
---
diff --git a/dvbs-fix-zigzag.patch b/dvbs-fix-zigzag.patch
new file mode 100644
index 0000000..4bc9daa
--- /dev/null
+++ b/dvbs-fix-zigzag.patch
@@ -0,0 +1,15 @@
+diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
+index 39696c6..de7dc29 100644
+--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
++++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
+@@ -1898,6 +1898,10 @@ static int dtv_set_frontend(struct dvb_frontend *fe)
+ 	} else {
+ 		/* default values */
+ 		switch (c->delivery_system) {
++		case SYS_DVBS:
++		case SYS_DVBS2:
++		case SYS_ISDBS:
++		case SYS_TURBO:
+ 		case SYS_DVBC_ANNEX_A:
+ 		case SYS_DVBC_ANNEX_C:
+ 			fepriv->min_delay = HZ / 20;
diff --git a/kernel.spec b/kernel.spec
index 676a9d8..ef44121 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -42,7 +42,7 @@ Summary: The Linux kernel
 # When changing real_sublevel below, reset this by hand to 1
 # (or to 0 and then use rpmdev-bumpspec).
 #
-%global baserelease 1
+%global baserelease 2
 %global fedora_build %{baserelease}
 
 # real_sublevel is the 3.x kernel version we're starting with
@@ -630,6 +630,7 @@ Patch2802: linux-2.6-silence-acpi-blacklist.patch
 # media patches
 Patch2900: add-poll-requested-events.patch
 Patch2901: drivers-media-update.patch
+Patch2902: dvbs-fix-zigzag.patch
 
 # fs fixes
 
@@ -1246,6 +1247,7 @@ ApplyPatch quite-apm.patch
 # Media (V4L/DVB/IR) updates/fixes/experimental drivers
 #  apply if non-empty
 ApplyPatch add-poll-requested-events.patch
+ApplyPatch dvbs-fix-zigzag.patch
 ApplyOptionalPatch drivers-media-update.patch
 
 # Patches headed upstream
@@ -1955,6 +1957,9 @@ fi
 # and build.
 
 %changelog
+* Mon May 07 2012 Mauro Carvalho Chehab <mchehab at redhat.com> 2.6.43.5-2
+- Add patch to fix DVB-S zigzag (rhbz 814404)
+
 * Mon May 07 2012 Josh Boyer <jwboyer at redhat.com> 2.6.43.5-1
 - Linux 3.3.5
 - Add patch to rate limit NFSv4 message (rhbz 732748)


More information about the scm-commits mailing list