diff options
author | Ken MacLeod <ken@bitsko.slc.ut.us> | 2009-08-06 15:18:27 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-23 09:46:33 -0400 |
commit | 7949f4e16456183bae0bc19ffe92072a27d0553e (patch) | |
tree | 2f0cc2bd462e48c5fd5cb830a76a8a6aca4799ff /drivers/usb/host/isp1362.h | |
parent | e792b1b0b83c276ca786b01cad662dc2e5d18843 (diff) |
USB: isp1362: fix pulldown register defines and conf logic
HCHWCFG_PULLDOWN_DS2 and HCHWCFG_PULLDOWN_DS1 were swapped. Incorrect
operator precedence in isp1362_hc_start() hid part of the problem.
This fixes a problem where Port 1 in Host mode fails to see disconnects.
Signed-Off-By: Ken MacLeod <ken@bitsko.slc.ut.us>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/isp1362.h')
-rw-r--r-- | drivers/usb/host/isp1362.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/isp1362.h b/drivers/usb/host/isp1362.h index 26e44fc8776f..fe60f62a32f3 100644 --- a/drivers/usb/host/isp1362.h +++ b/drivers/usb/host/isp1362.h | |||
@@ -161,8 +161,8 @@ ISP1362_REG(HCRHPORT2, 0x16, REG_WIDTH_32, REG_ACCESS_RW); | |||
161 | ISP1362_REG(HCHWCFG, 0x20, REG_WIDTH_16, REG_ACCESS_RW); | 161 | ISP1362_REG(HCHWCFG, 0x20, REG_WIDTH_16, REG_ACCESS_RW); |
162 | #define HCHWCFG_DISABLE_SUSPEND (1 << 15) | 162 | #define HCHWCFG_DISABLE_SUSPEND (1 << 15) |
163 | #define HCHWCFG_GLOBAL_PWRDOWN (1 << 14) | 163 | #define HCHWCFG_GLOBAL_PWRDOWN (1 << 14) |
164 | #define HCHWCFG_PULLDOWN_DS1 (1 << 13) | 164 | #define HCHWCFG_PULLDOWN_DS2 (1 << 13) |
165 | #define HCHWCFG_PULLDOWN_DS2 (1 << 12) | 165 | #define HCHWCFG_PULLDOWN_DS1 (1 << 12) |
166 | #define HCHWCFG_CLKNOTSTOP (1 << 11) | 166 | #define HCHWCFG_CLKNOTSTOP (1 << 11) |
167 | #define HCHWCFG_ANALOG_OC (1 << 10) | 167 | #define HCHWCFG_ANALOG_OC (1 << 10) |
168 | #define HCHWCFG_ONEINT (1 << 9) | 168 | #define HCHWCFG_ONEINT (1 << 9) |