diff options
author | Michal Nazarewicz <mina86@mina86.com> | 2015-06-19 23:56:34 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-07-06 12:34:08 -0500 |
commit | 8515bac01a983d277148e4fcc5f235bf603de577 (patch) | |
tree | 55abb371941f179e3abb3147d6949478b9fe229a /drivers/usb/chipidea/debug.h | |
parent | 43cacb03aabe62158d8e5da876054c7d48fc9963 (diff) | |
download | kernel_replicant_linux-8515bac01a983d277148e4fcc5f235bf603de577.tar.gz kernel_replicant_linux-8515bac01a983d277148e4fcc5f235bf603de577.tar.bz2 kernel_replicant_linux-8515bac01a983d277148e4fcc5f235bf603de577.zip |
usb: f_mass_storage: limit number of reported LUNs
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.
Cc: <stable@vger.kernel.org>
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>
Diffstat (limited to 'drivers/usb/chipidea/debug.h')
0 files changed, 0 insertions, 0 deletions