On 04.09.2018 17:51, Frank Wunderlich wrote:
this fixes the issue:

adding the following lines to drivers/usb/host/xhci-mem.c line:1616

if (xhci->quirks & XHCI_MTK_HOST) {
        in_ep_ctx->reserved[0] = out_ep_ctx->reserved[0];
        in_ep_ctx->reserved[1] = out_ep_ctx->reserved[1];
}
commit below is wrong...i got the response: This issue is caused by the commit : 27082e2654dc (“xhci: Clear the host side toggle manually when endpoint is ‘soft reset’”)... i think this commit is meant: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f5249461b504d35aa1a40140983b7ec415807d9e

sorry for confusion, had searched and not compared the result again :(

pushed to my github: 
https://github.com/frank-w/BPI-R2-4.14/commit/c9acc5a4285d0de71171c7c1fb3ae7dc0bffec34

official patch will be send by mediatek

regards Frank

Ok, thanks, makes sense.

I'll wait for that patch

I'm offline rest of the week so responses will be delayed

-Mathias

Reply via email to