summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorOlav Kongas <ok@artecdesign.ee>2005-08-04 15:52:31 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-09 01:22:47 +0200
commit165c0f39390212d7a517b80c3bb61cb8f1782fef (patch)
treed1ebe787ce1a506454c3a8b50e00890399382fc5 /drivers
parent[PATCH] USB: isp116x-hcd: remove unnecessary ClockNotStop configuration option (diff)
downloadlinux-165c0f39390212d7a517b80c3bb61cb8f1782fef.tar.xz
linux-165c0f39390212d7a517b80c3bb61cb8f1782fef.zip
[PATCH] USB: isp116x-hcd: support only per-port power switching
The isp116x chip will now always be in per-port power switching mode. Remove conf options to set any other mode. Signed-off-by: Olav Kongas <ok@artecdesign.ee> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/host/isp116x-hcd.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/usb/host/isp116x-hcd.c b/drivers/usb/host/isp116x-hcd.c
index 96aaee509929..a3e881c60026 100644
--- a/drivers/usb/host/isp116x-hcd.c
+++ b/drivers/usb/host/isp116x-hcd.c
@@ -1581,11 +1581,10 @@ static int isp116x_start(struct usb_hcd *hcd)
/* ----- Root hub conf */
val = (25 << 24) & RH_A_POTPGT;
- /* AN10003_1.pdf recommends NPS to be always 1 */
- if (board->no_power_switching)
- val |= RH_A_NPS;
- if (board->power_switching_mode)
- val |= RH_A_PSM;
+ /* AN10003_1.pdf recommends RH_A_NPS (no power switching) to
+ be always set. Yet, instead, we request individual port
+ power switching. */
+ val |= RH_A_PSM;
isp116x_write_reg32(isp116x, HCRHDESCA, val);
isp116x->rhdesca = isp116x_read_reg32(isp116x, HCRHDESCA);