Patch "[media] airspy: increase USB control message buffer size" has been added to the 4.1-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
[media] airspy: increase USB control message buffer size
to the 4.1-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
airspy-increase-usb-control-message-buffer-size.patch
and it can be found in the queue-4.1 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
aa0850e1d56623845b46350ffd971afa9241886dMon Sep 17 00:00:00 2001
From: Antti Palosaari <[email protected]>
Date: Mon, 26 Oct 2015 18:58:14 -0200
Subject: [media] airspy: increase USB control message buffer size
From: Antti Palosaari <[email protected]>
commit aa0850e1d56623845b46350ffd971afa9241886d upstream.
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.
--- drivers/media/usb/airspy/airspy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/usb/airspy/airspy.c +1 -1
@@ -132,7 +132,7 @@ struct airspy {int urbs_submitted;/* USB control message buffer */ -#define BUF_SIZE 24 +#define BUF_SIZE 128u8 buf[BUF_SIZE ];/* Current configuration */
Patches currently in stable-queue which might be from [email protected] are
queue-4.1/airspy-increase-usb-control-message-buffer-size.patch