usb: dwc_otg: handle data toggle error in right way
authorlyz <lyz@rock-chips.com>
Fri, 23 Jan 2015 09:05:14 +0000 (17:05 +0800)
committerlyz <lyz@rock-chips.com>
Fri, 23 Jan 2015 09:08:19 +0000 (17:08 +0800)
commit63bbda58fe6526cbe42d38df7b76ed50594d24a0
treef8f86ba1e5d1aa2909d415686be93b945ca163a2
parentb1e25b6bf255cecf4d022099857d200cbc681661
usb: dwc_otg: handle data toggle error in right way

data toggle error without a ChannelHalt status is not a real data
toggle err, it is a transfer error state so just clear the
interrupt bit rather than resubmit this request

Signed-off-by: lyz <lyz@rock-chips.com>
drivers/usb/dwc_otg_310/dwc_otg_hcd_intr.c