target/rockchip: linux 4.19 update xhci trb-ent-quirk
This commit is contained in:
parent
e9364eb62a
commit
fd44da01a1
@ -13138,7 +13138,7 @@ index f5bd91752..66d6709eb 100644
|
||||
bool more_trbs_coming = true;
|
||||
bool need_zero_pkt = false;
|
||||
bool first_trb = true;
|
||||
+ bool en_trb_ent = true;
|
||||
+ bool en_trb_ent = !!(xhci->quirks & XHCI_TRB_ENT_QUIRK);
|
||||
unsigned int num_trbs;
|
||||
unsigned int start_cycle, num_sgs = 0;
|
||||
unsigned int enqd_len, block_len, trb_buff_len, full_len;
|
||||
@ -13174,7 +13174,7 @@ index f5bd91752..66d6709eb 100644
|
||||
*/
|
||||
if (enqd_len + trb_buff_len < full_len) {
|
||||
field |= TRB_CHAIN;
|
||||
+ if (xhci->quirks & XHCI_TRB_ENT_QUIRK && en_trb_ent)
|
||||
+ if (en_trb_ent)
|
||||
+ field |= TRB_ENT;
|
||||
if (trb_is_link(ring->enqueue + 1)) {
|
||||
if (xhci_align_td(xhci, urb, enqd_len,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user