[PATCH] usb: gadget: f_mass_storage: Stop ums on START-STOP UNIT SCSI command

Mattijs Korpershoek mkorpershoek at baylibre.com
Mon Nov 13 10:08:03 CET 2023


Hi,

On Tue, 07 Nov 2023 01:09:59 +0100, Marek Vasut wrote:
> Exit the UMS handler loop in case START-STOP UNIT SCSI command is
> received. This is sent e.g. by the util-linux eject(1) command and
> indicates to the device that it is supposed to spin down the media
> and enter low power state.
> 
> This effectively adds support for exitting the 'ums' command from
> host using 'eject /dev/sdN' that is on par with 'dfu-util -e' .
> 
> [...]

Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu-next)

[1/1] usb: gadget: f_mass_storage: Stop ums on START-STOP UNIT SCSI command
      https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/957e96e9fcccf26a2fe4101adbd6681578346460

--
Mattijs


More information about the U-Boot mailing list