summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/airspy
diff options
context:
space:
mode:
authorAntti Palosaari2015-10-26 21:58:14 +0100
committerMauro Carvalho Chehab2015-12-18 18:25:29 +0100
commitaa0850e1d56623845b46350ffd971afa9241886d (patch)
treedc14c9a41fb614c4b51de6be5b7444fca3f59e25 /drivers/media/usb/airspy
parent[media] hackrf: move RF gain ctrl enable behind module parameter (diff)
downloadkernel-qcow2-linux-aa0850e1d56623845b46350ffd971afa9241886d.tar.gz
kernel-qcow2-linux-aa0850e1d56623845b46350ffd971afa9241886d.tar.xz
kernel-qcow2-linux-aa0850e1d56623845b46350ffd971afa9241886d.zip
[media] airspy: increase USB control message buffer size
Driver requested device firmware version string during probe using only 24 byte long buffer. That buffer is too small for newer firmware versions, which causes device firmware hang - device stops responding to any commands after that. Increase buffer size to 128 which should be enough for any current and future version strings. Link: https://github.com/airspy/host/issues/27 Cc: <stable@vger.kernel.org> # 3.17+ Reported-by: Benjamin Vernoux <bvernoux@gmail.com> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/airspy')
-rw-r--r--drivers/media/usb/airspy/airspy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/airspy/airspy.c b/drivers/media/usb/airspy/airspy.c
index fcbb49757614..565a59310747 100644
--- a/drivers/media/usb/airspy/airspy.c
+++ b/drivers/media/usb/airspy/airspy.c
@@ -134,7 +134,7 @@ struct airspy {
int urbs_submitted;
/* USB control message buffer */
- #define BUF_SIZE 24
+ #define BUF_SIZE 128
u8 buf[BUF_SIZE];
/* Current configuration */