commit | e1d833a27b0c21d8b16cb1fbbe8a2635529d33c5 | [log] [tgz] |
---|---|---|
author | Eric Nelson <eric.nelson@boundarydevices.com> | Fri Sep 19 17:06:46 2014 -0700 |
committer | Marek Vasut <marex@denx.de> | Mon Oct 06 14:50:43 2014 +0200 |
tree | 8cc214ce9396cae157e54714f2edc4c1c368e38e | |
parent | 6385394d47ac1e37c6f018439603162764e2f665 [diff] |
usb: f_mass_storage: set removable flag in do_inquiry based on LUN Without this flag, tools like Alex Page's USB Image Tool won't see drives exposed over USB Gadget as removable, and won't allow access to them. http://www.alexpage.de/usb-image-tool/ The code was pulled from the main-line kernel: drivers/usb/gadget/function/f_mass_storage.c Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>