Extend StandardEject sequence to include LUN 1
authorBenjamin Berg <benjamin@sipsolutions.net>
Tue, 8 Nov 2016 15:39:12 +0000 (16:39 +0100)
committerJohn Crispin <john@phrozen.org>
Mon, 21 Nov 2016 10:06:01 +0000 (11:06 +0100)
commit22f041e18df06f19d2df0d5ccc824424ffe003f9
treeb358f50732ce0a41ef9d23102476a6ce9a9905ae
parent61fdf7e9b1cc3c67cb9775571f17ea12df4c6287
Extend StandardEject sequence to include LUN 1

this is for eject handling of dongles based on
Mediatek's cellular baseband processors which has a TF/SD card reader on
LUN 0 of the USB storage interface and the virtual cd-rom (which we want
to eject) on LUN 1. The previous StandardEject sequence did only work
for LUN 0, the new sequence will work for both LUN's.

Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net>
Signed-off-by: René van Weert <r.vanweert@sowifi.com>
Reviewed-by: Lars Melin <larsm17@gmail.com>
switch.c