Re: [RFC PATCH V2 1/2] usb: usb port power off mechanism add "auto" option

2012-09-04 Thread Alan Stern
On Mon, 3 Sep 2012, Lan Tianyu wrote: > This patch is to add "auto" option to attribute portX/control. > When echo "auto", the port's feature PORT_POWER would be clear > if the port's connect type was mark not-used(connectability and > visibility are both cleared) and with no device attached. > >

[RFC PATCH V2 1/2] usb: usb port power off mechanism add "auto" option

2012-09-03 Thread Lan Tianyu
This patch is to add "auto" option to attribute portX/control. When echo "auto", the port's feature PORT_POWER would be clear if the port's connect type was mark not-used(connectability and visibility are both cleared) and with no device attached. Signed-off-by: Lan Tianyu --- This patchset is ba