mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 16:54:20 +08:00
USB: whci-hcd: always do an update after processing a halted qTD
A halted qTD always triggers a hardware list update because the qset was either removed or reactivated. Signed-off-by: David Vrabel <david.vrabel@csr.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
171b37ee95
commit
1f01ca4e0c
@ -115,6 +115,10 @@ static uint32_t process_qset(struct whc *whc, struct whc_qset *qset)
|
||||
if (status & QTD_STS_HALTED) {
|
||||
/* Ug, an error. */
|
||||
process_halted_qtd(whc, qset, td);
|
||||
/* A halted qTD always triggers an update
|
||||
because the qset was either removed or
|
||||
reactivated. */
|
||||
update |= WHC_UPDATE_UPDATED;
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
@ -121,6 +121,10 @@ static enum whc_update pzl_process_qset(struct whc *whc, struct whc_qset *qset)
|
||||
if (status & QTD_STS_HALTED) {
|
||||
/* Ug, an error. */
|
||||
process_halted_qtd(whc, qset, td);
|
||||
/* A halted qTD always triggers an update
|
||||
because the qset was either removed or
|
||||
reactivated. */
|
||||
update |= WHC_UPDATE_UPDATED;
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user