diff options
author | Dongjin Kim <tobetter@gmail.com> | 2013-05-22 00:20:08 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-30 16:32:52 +0400 |
commit | e8e44a4896a5f0bde1af36a31b7ec662bdaa44ef (patch) | |
tree | 7a0fe07609710facb735efc01dde7422517395f4 /kernel/stop_machine.c | |
parent | 45f6bc5ff9c3387387f048ec85dcb4e69acf0b03 (diff) | |
download | linux-e8e44a4896a5f0bde1af36a31b7ec662bdaa44ef.tar.xz |
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>
Diffstat (limited to 'kernel/stop_machine.c')
0 files changed, 0 insertions, 0 deletions