[PATCH] usb: gadget: aspeed-vhub: Fix SETUP packets with OUT data phase

2018-06-27 Thread Benjamin Herrenschmidt
A couple of bugs in the driver are preventing SETUP packets with an OUT data phase from working properly. Interestingly those are incredibly rare (RNDIS typically uses them and thus is broken without this fix). The main problem was an incorrect register offset being applied for arming RX on EP0.

usb: gadget: aspeed-vhub: Fix SETUP packets with OUT data phase

2018-06-26 Thread Benjamin Herrenschmidt
A couple of bugs in the driver are preventing SETUP packets with an OUT data phase from working properly. Interestingly those are incredibly rare (RNDIS typically uses them and thus is broken without this fix). The main problem was an incorrect register offset being applied for arming RX on EP0.