Home
last modified time | relevance | path

Searched hist:f9935c87b6c8e81ef8d621bd06d24a78eec8a821 (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Df_mass_storage.cf9935c87b6c8e81ef8d621bd06d24a78eec8a821 Sat Sep 20 00:06:46 UTC 2014 Eric Nelson <eric.nelson@boundarydevices.com> 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>