Fix DVB-T cxusb firmware loading (rhbz 1154454)

This commit is contained in:
Josh Boyer 2014-10-29 08:10:20 -04:00
parent 5c5d585397
commit 9c5c6d86e2
2 changed files with 46 additions and 0 deletions

View File

@ -777,6 +777,9 @@ Patch26082: kvm-fix-excessive-pages-un-pinning-in-kvm_iommu_map-.patch
#rhbz 1157327
Patch26083: quirk-for-Lenovo-Yoga-3-no-rfkill-switch.patch
#rhbz 1154454
Patch26084: media-cxusb-increase-buffer-length-to-80-bytes.patch
# git clone ssh://git.fedorahosted.org/git/kernel-arm64.git, git diff master...devel
Patch30000: kernel-arm64.patch
@ -1522,6 +1525,9 @@ ApplyPatch kvm-fix-excessive-pages-un-pinning-in-kvm_iommu_map-.patch
#rhbz 1157327
ApplyPatch quirk-for-Lenovo-Yoga-3-no-rfkill-switch.patch
#rhbz 1154454
ApplyPatch media-cxusb-increase-buffer-length-to-80-bytes.patch
%if 0%{?aarch64patches}
ApplyPatch kernel-arm64.patch
%ifnarch aarch64 # this is stupid, but i want to notice before secondary koji does.
@ -2340,6 +2346,9 @@ fi
# ||----w |
# || ||
%changelog
* Wed Oct 29 2014 Josh Boyer <jwboyer@fedoraproject.org>
- Fix DVB-T cxusb firmware loading (rhbz 1154454)
* Tue Oct 28 2014 Josh Boyer <jwboyer@fedoraproject.org>
- Add quirk for rfkill on Yoga 3 machines (rhbz 1157327)

View File

@ -0,0 +1,37 @@
From eb9da073bd002f2968c84129a5c49625911a3199 Mon Sep 17 00:00:00 2001
From: Mauro Carvalho Chehab <m.chehab@samsung.com>
Date: Mon, 30 Jun 2014 11:56:33 -0300
Subject: [PATCH] [media] cxusb: increase buffer length to 80 bytes
As reported by Vincent:
[ 16.332247] xc2028 0-0061: Loading firmware for type=BASE F8MHZ (3), id 0000000000000000.
[ 16.344378] cxusb: i2c wr: len=64 is too big!
64 bytes is too short for firmware load on this device. So, increase it
to 80 bytes.
Bugzilla: 1154454
Upstream-status: 3.17
Reported-by: Vincent McIntyre <vincent.mcintyre@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
---
drivers/media/usb/dvb-usb/cxusb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/usb/dvb-usb/cxusb.c b/drivers/media/usb/dvb-usb/cxusb.c
index b7461ac1ce74..f379f7e1fcb0 100644
--- a/drivers/media/usb/dvb-usb/cxusb.c
+++ b/drivers/media/usb/dvb-usb/cxusb.c
@@ -46,7 +46,7 @@
#include "si2157.h"
/* Max transfer size done by I2C transfer functions */
-#define MAX_XFER_SIZE 64
+#define MAX_XFER_SIZE 80
/* debug */
static int dvb_usb_cxusb_debug;
--
2.1.0