aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/shost/shost_readyq.c
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2015-12-06 17:07:15 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2015-12-06 17:07:15 +0100
commit68ee93f3d058ff58f994d08be00d3aad9ec20970 (patch)
tree5fb2d14340332062e416246c5759adcaa64a2340 /drivers/usb/host/shost/shost_readyq.c
parent17021fd920fb5bc97a8c81a20b208c5b38f1b0e8 (diff)
parentb99374450c03bf5081b88995d91d34fb9b2fd040 (diff)
downloadkernel_samsung_smdk4412-68ee93f3d058ff58f994d08be00d3aad9ec20970.zip
kernel_samsung_smdk4412-68ee93f3d058ff58f994d08be00d3aad9ec20970.tar.gz
kernel_samsung_smdk4412-68ee93f3d058ff58f994d08be00d3aad9ec20970.tar.bz2
Merge branch 'master' of fossencdi.org:kernel_samsung_smdk4412
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