mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 15:12:59 +02:00
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>
This commit is contained in:
parent
b1e25b6bf2
commit
63bbda58fe
|
|
@ -2179,8 +2179,8 @@ int32_t dwc_otg_hcd_handle_hc_n_intr(dwc_otg_hcd_t *dwc_otg_hcd, uint32_t num)
|
|||
handle_hc_frmovrun_intr(dwc_otg_hcd, hc, hc_regs, qtd);
|
||||
}
|
||||
if (hcint.b.datatglerr) {
|
||||
retval |=
|
||||
handle_hc_datatglerr_intr(dwc_otg_hcd, hc, hc_regs, qtd);
|
||||
disable_hc_int(hc_regs, datatglerr);
|
||||
clear_hc_int(hc_regs, chhltd);
|
||||
}
|
||||
|
||||
return retval;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user