]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: musb: dsps: fix polling in device-only mode
authorBin Liu <b-liu@ti.com>
Wed, 16 Sep 2015 19:49:28 +0000 (14:49 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 21 Sep 2015 19:42:35 +0000 (14:42 -0500)
commitb8239dcc03afbd0886c1d9b91ba8fee7c6c9a6cb
tree049ec2e1a0d2c932e1d555cfcbd0c390cb09e98b
parentcf261fd1a444e87894c2ed8f481606ead7916fab
usb: musb: dsps: fix polling in device-only mode

Fix the regression caused by commit ad78c918602 ("usb: musb: dsps: just
start polling already") which causes polling the ID pin status even in
device-only mode.

Fixes: ad78c918602c ("usb: musb: dsps: just start polling already")
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_dsps.c