Re: [PATCH 3/3] usb: musb: fix setting JZ4740 gadget periphal mode on reset

2013-12-16 Thread Felipe Balbi
Hi, On Tue, Dec 17, 2013 at 02:31:00AM +0100, Apelete Seketeli wrote: > On 16-Dec-13, Felipe Balbi wrote: > > On Sat, Dec 14, 2013 at 04:48:38AM +0100, Apelete Seketeli wrote: > > > JZ4740 USB Device Controller is not OTG compatible and does not have > > > DEVCTL > > > register in silicon. > > >

Re: [PATCH 3/3] usb: musb: fix setting JZ4740 gadget periphal mode on reset

2013-12-16 Thread Apelete Seketeli
On 16-Dec-13, Felipe Balbi wrote: > On Sat, Dec 14, 2013 at 04:48:38AM +0100, Apelete Seketeli wrote: > > JZ4740 USB Device Controller is not OTG compatible and does not have DEVCTL > > register in silicon. > > > > During ethernet-over-usb transactions, on reset, musb driver tries to > > read from

Re: [PATCH 3/3] usb: musb: fix setting JZ4740 gadget periphal mode on reset

2013-12-16 Thread Felipe Balbi
On Sat, Dec 14, 2013 at 04:48:38AM +0100, Apelete Seketeli wrote: > JZ4740 USB Device Controller is not OTG compatible and does not have DEVCTL > register in silicon. > > During ethernet-over-usb transactions, on reset, musb driver tries to > read from DEVCTL and consequently sets device as host (

[PATCH 3/3] usb: musb: fix setting JZ4740 gadget periphal mode on reset

2013-12-13 Thread Apelete Seketeli
JZ4740 USB Device Controller is not OTG compatible and does not have DEVCTL register in silicon. During ethernet-over-usb transactions, on reset, musb driver tries to read from DEVCTL and consequently sets device as host (A-Device) instead of peripheral (B-Device), which makes it a composite devic