On Fri, Jan 06, 2017 at 01:36:11PM -0800, John Stultz wrote:
> On Thu, Jan 5, 2017 at 6:50 PM, Leo Yan wrote:
> > When use configfs to configure USB port as as ethernet gadget, the
> > kernel has panic with below backtrace; it clearly indicates the
> > coherent memory allo
On Fri, Jan 06, 2017 at 07:30:28PM -0800, John Youn wrote:
> On 1/6/2017 1:52 PM, John Stultz wrote:
> > On Fri, Jan 6, 2017 at 4:45 AM, Leo Yan wrote:
> >> Commit 05ee799f2021 ("usb: dwc2: Move gadget settings into core_params")
> >> changes to type u1
ith wrong data
format. This is found the data transferring broken on 96boards Hikey.
This patch is to change all parameters to u32 type, and verified on
Hikey board the DT parameters can pass successfully.
Signed-off-by: Leo Yan
---
drivers/usb/dwc2/core.h | 4 ++--
drivers/usb/dwc2/para
84456] [] handle_fasteoi_irq+0xb4/0x184
[8.390294] [] generic_handle_irq+0x24/0x38
[8.396045] [] __handle_domain_irq+0x60/0xac
[8.401883] [] gic_handle_irq+0x54/0xa0
Signed-off-by: Leo Yan
---
drivers/usb/dwc2/gadget.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb
size for gadget driver and
ethernet on USB function driver is easily to hang. And in the kernel
there also have other platforms set FIFO size for usb controller,
e.g. arch/arm64/boot/dts/rockchip/rk3368.dtsi.
This patch re-enables dt binding to set FIFO size.
Signed-off-by: Leo Yan
---
drivers/usb