[media] airspy: increase USB control message buffer size
authorAntti Palosaari <crope@iki.fi>
Mon, 26 Oct 2015 20:58:14 +0000 (18:58 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 18 Dec 2015 17:25:29 +0000 (15:25 -0200)
commitaa0850e1d56623845b46350ffd971afa9241886d
treedc14c9a41fb614c4b51de6be5b7444fca3f59e25
parentd47fa5315cca0c7c06b97abfbd77859d5296be2c
[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>
drivers/media/usb/airspy/airspy.c