USB: Mass storage gadget: Handle eject request
authorFabien Chouteau <fabien.chouteau@barco.com>
Mon, 26 Apr 2010 10:34:54 +0000 (12:34 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:39 +0000 (13:21 -0700)
commit31436a1a64b8eed834fba5d570038dd676e04842
treef222980165d53b9173174510cf4346e0cd5cc6e3
parentf48cf80f93ba974eb3201ab2d0f2c4cef950f3fc
USB: Mass storage gadget: Handle eject request

This patch adds handling of the "Start/Stop Unit" SCSI request
to simulate media ejection.

Signed-off-by: Fabien Chouteau <fabien.chouteau@barco.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/f_mass_storage.c