Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9cb18c4 authored by Mayank Rana's avatar Mayank Rana Committed by Matt Wagantall
Browse files

USB: mass_storage: Fix mass storage LUN creation with Android gadget



Mass storage driver has changed in terms of its usage due to moving
with configfs functionality. This change adds minimum LUN creation
functionality in order to work with Android gadget driver. It also
adds support to create sysfs entry to access created LUN.

Android gadget driver is not having any requirement to use more than
one instance of mass storage driver as one instance of mass storage
driver supports 8 LUNS. Hence move to creating and using one instance
of USB mass storage driver.

Change-Id: I1c2655da1cac069abce679ca3b969e264edf0b09
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
[jackp@codeaurora.org: Also convert android.c to use the
 USB_FUNCTION API of the mass_storage driver]
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 041ad2ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment