提交 847ed3e8 编写于 作者: A Arvid Brodin 提交者: Greg Kroah-Hartman

usb/isp1760: Remove false error printout

This removes the "qh is 0" printout. qh == NULL if the urb has
been unlinked, so this condition is normal.
Signed-off-by: NArvid Brodin <arvid.brodin@enea.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 dfbc6fa3
...@@ -1021,10 +1021,10 @@ static void do_atl_int(struct usb_hcd *hcd) ...@@ -1021,10 +1021,10 @@ static void do_atl_int(struct usb_hcd *hcd)
qtd = priv->atl_ints[slot].qtd; qtd = priv->atl_ints[slot].qtd;
qh = priv->atl_ints[slot].qh; qh = priv->atl_ints[slot].qh;
if (!qh) { /* urb unlinked? */
dev_err(hcd->self.controller, "qh is 0\n"); if (!qh)
continue; continue;
}
ptd_read(hcd->regs, ATL_PTD_OFFSET, slot, &ptd); ptd_read(hcd->regs, ATL_PTD_OFFSET, slot, &ptd);
rl = (ptd.dw2 >> 25) & 0x0f; rl = (ptd.dw2 >> 25) & 0x0f;
...@@ -1213,10 +1213,9 @@ static void do_intl_int(struct usb_hcd *hcd) ...@@ -1213,10 +1213,9 @@ static void do_intl_int(struct usb_hcd *hcd)
qtd = priv->int_ints[slot].qtd; qtd = priv->int_ints[slot].qtd;
qh = priv->int_ints[slot].qh; qh = priv->int_ints[slot].qh;
if (!qh) { /* urb unlinked? */
dev_err(hcd->self.controller, "(INT) qh is 0\n"); if (!qh)
continue; continue;
}
ptd_read(hcd->regs, INT_PTD_OFFSET, slot, &ptd); ptd_read(hcd->regs, INT_PTD_OFFSET, slot, &ptd);
check_int_err_status(hcd, ptd.dw4); check_int_err_status(hcd, ptd.dw4);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册