aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/shost/shost_readyq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/shost/shost_readyq.c')
-rw-r--r--drivers/usb/host/shost/shost_readyq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/shost/shost_readyq.c b/drivers/usb/host/shost/shost_readyq.c
index 9e41da5..b2ccea0 100644
--- a/drivers/usb/host/shost/shost_readyq.c
+++ b/drivers/usb/host/shost/shost_readyq.c
@@ -202,6 +202,7 @@ static int get_ed_from_ready_q(struct ed **get_ed, bool is_periodic)
} else {
otg_list_pop(qlist);
periodic_trans_ready_q.entity_num--;
+ get_ed[0]->ed_status.is_in_transfer_ready_q = false;
}
return USB_ERR_SUCCESS;
@@ -230,6 +231,7 @@ static int get_ed_from_ready_q(struct ed **get_ed, bool is_periodic)
} else {
otg_list_pop(qlist);
nonperiodic_trans_ready_q.entity_num--;
+ get_ed[0]->ed_status.is_in_transfer_ready_q = false;
}
return USB_ERR_SUCCESS;
} else