diff options
author | Dongjin Kim <tobetter@gmail.com> | 2013-05-22 05:20:08 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-03-20 17:44:01 +0900 |
commit | 65d9ad4424e47579606ae76b4e64bae0f9f4c92d (patch) | |
tree | b3db57cc8b0652658ecca3ab1b85ecde910767e4 /drivers/usb/wusbcore/reservation.c | |
parent | 507ba96c49fe6e247dcb5a79e1aca7160def7254 (diff) | |
download | linux-3.10-65d9ad4424e47579606ae76b4e64bae0f9f4c92d.tar.gz linux-3.10-65d9ad4424e47579606ae76b4e64bae0f9f4c92d.tar.bz2 linux-3.10-65d9ad4424e47579606ae76b4e64bae0f9f4c92d.zip |
usb: misc: usb3503: Add to select the ports to disable
This patch is to disable the USB ports unconnected to USB3503. In order to
disable the port, 'port_off_mask' must be set.
* Disable PORT1 only
.port_off_mask = USB3503_OFF_PORT1;
* Disable PORT1 and PORT3 only
.port_off_mask = USB3503_OFF_PORT1 | USB3503_OFF_PORT3;
* Enables all ports
.port_off_mask = 0;
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[mszyprow: mainline commit e8e44a4896a5f0bde1af36a31b7ec662bdaa44ef]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ie8e44a4896a5f0bde1af36a31b7ec662bdaa44ef
Diffstat (limited to 'drivers/usb/wusbcore/reservation.c')
0 files changed, 0 insertions, 0 deletions