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

Skip to content
Commit 8708b8aa authored by Mike Lockwood's avatar Mike Lockwood Committed by Stephen Boyd
Browse files

USB: g_mass_storage: Always allow disabling mass storage by writing to lun file



For android builds we disable the check for curlun->prevent_medium_removal.
Instead we let the framework manage unmounting policy, as we sometimes need
to unmount after the media has been removed.
This also helps support hosts that do not inform the device when the media
has been unmounted.

Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent 12a3bff0
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