On 26.05.2016 14:32, Felipe Balbi wrote:
Hi, Mathias Nyman <[email protected]> writes:@@ -3098,24 +3136,66 @@ static u32 xhci_td_remainder(struct xhci_hcd *xhci, int transferred, return (total_packet_count - ((transferred + trb_buff_len) / maxp)); }
+ } + *trb_buff_len = new_buff_len; + seg->bounce_len = new_buff_len; + seg->bounce_offs = enqd_len; + + xhci_dbg(xhci, "Bounce align, new buff len %d\n", *trb_buff_len); + + /* FIXME MATTU make sure memory allocated memory is 64k aligned */^^^^^^^^^^^^^^^^^^^^^ do you wanna clean this up ?
Will do, new version coming -Mathias -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
