usb: isp1760:Adjusted for usb_hub_clear_tt_buffer
Subsystems (2)
PATCH 2/6 usb: isp1760:Adjusted for usb_hub_clear_tt_buffer
Add argument for usb_hub_clear_tt_buffer to specify device number that will have the TT state of its hub cleared.
Signed-off-by Jim Lin <[email protected]>
--- drivers/usb/isp1760/isp1760-hcd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/usb/isp1760/isp1760-hcd.c +3 -2
@@ -1166,7 +1166,8 @@ static void handle_done_ptds(struct usb_hcd *hcd) (qtd->urb->status != -EPIPE) && (qtd->urb->status != -EREMOTEIO)) { qh->tt_buffer_dirty =1 ; -if (usb_hub_clear_tt_buffer (qtd->urb)) +if (usb_hub_clear_tt_buffer (qtd->urb, + qtd->urb->dev->devnum))/* Clear failed; let's hope things work anyway */ qh->tt_buffer_dirty =0 ;
@@ -1633,7 +1634,7 @@ static void dequeue_urb_from_qtd(struct usb_hcd *hcd, struct isp1760_qh *qh,if ((urb->dev->speed !=USB_SPEED_HIGH ) && urb_was_running) { qh->tt_buffer_dirty =1 ; -if (usb_hub_clear_tt_buffer (urb)) +if (usb_hub_clear_tt_buffer (urb, urb->dev->devnum))/* Clear failed; let's hope things work anyway */ qh->tt_buffer_dirty =0 ; }