USB: isp1362: fix pulldown register defines and conf logic
authorKen MacLeod <ken@bitsko.slc.ut.us>
Thu, 6 Aug 2009 19:18:27 +0000 (14:18 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Sep 2009 13:46:33 +0000 (06:46 -0700)
commit7949f4e16456183bae0bc19ffe92072a27d0553e
tree2f0cc2bd462e48c5fd5cb830a76a8a6aca4799ff
parente792b1b0b83c276ca786b01cad662dc2e5d18843
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>
drivers/usb/host/isp1362-hcd.c
drivers/usb/host/isp1362.h