usb: dwc_otg_310: Fixed that otg-host cannot transport LS device data.
authorFrank Wang <frank.wang@rock-chips.com>
Wed, 8 Jun 2016 02:17:57 +0000 (10:17 +0800)
committerFrank Wang <frank.wang@rock-chips.com>
Wed, 8 Jun 2016 02:37:11 +0000 (10:37 +0800)
commitb05d65e8c3c317f652959011675fdc659f0fb714
tree6b6334f6d0d3dbfe7f62eb230a086053adf90aa1
parentdd8a1e839ab5e3a12bce13c9e91e0749262b1181
usb: dwc_otg_310: Fixed that otg-host cannot transport LS device data.

Decreasing the use_count of urb is pended since core usb have put it
into the tasklet after HC dequeued, so we add a condition which check
urb in HC queue is NULL or not to enhance exception conditions here.

BUG=Redmine: Defect#95115
TEST=RK3366-SDK, LS mouse device works.

Change-Id: I8b6d8ae2a866817b0c638e0b43811d108962b591
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
drivers/usb/dwc_otg_310/dwc_otg_hcd_linux.c [changed mode: 0755->0644]