summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2015-06-19 23:56:34 +0200
committerLuis Henriques <luis.henriques@canonical.com>2015-08-10 09:54:13 +0100
commitbe30468aaf6ea7ca81d657cf22f530e108727735 (patch)
tree93f900e1dd9c461b6dea0c6a598b485bb3d98ae9 /kernel
parent6645294d4b472bbcc98e3367499dc02637d9a609 (diff)
usb: f_mass_storage: limit number of reported LUNs
commit 8515bac01a983d277148e4fcc5f235bf603de577 upstream. Mass storage function created via configfs always reports eight LUNs to the hosts even if only one LUN has been configured. Adjust the number when the USB function is allocated based on LUNs that user has created. Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Felipe Balbi <balbi@ti.com> [ luis: backported to 3.16: - file rename: drivers/usb/gadget/function/f_mass_storage.c -> drivers/usb/gadget/f_mass_storage.c ] Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions