RE: [RFC PATCH v1 13/14] usb:cdns3: Adds debugging function.

2018-11-08 Thread Pawel Laszczak
>Hi, > >On 03/11/18 19:51, Pawel Laszczak wrote: >> Patch implements some function used for debugging driver. >> >> Signed-off-by: Pawel Laszczak >> --- >> drivers/usb/cdns3/Makefile | 2 +- >> drivers/usb/cdns3/debug.c | 128 + >> drivers/usb/cdns3/ep0.c

Re: [RFC PATCH v1 13/14] usb:cdns3: Adds debugging function.

2018-11-08 Thread Roger Quadros
Hi, On 03/11/18 19:51, Pawel Laszczak wrote: > Patch implements some function used for debugging driver. > > Signed-off-by: Pawel Laszczak > --- > drivers/usb/cdns3/Makefile | 2 +- > drivers/usb/cdns3/debug.c | 128 + > drivers/usb/cdns3/ep0.c| 3 +

RE: [RFC PATCH v1 13/14] usb:cdns3: Adds debugging function.

2018-11-04 Thread Pawel Laszczak
>> Patch implements some function used for debugging driver. >[] >> +static inline char *cdns3_decode_ep_irq(u32 ep_sts, const char *ep_name) >> +{ >> +static char str[256]; >> +int ret; >> + >> +ret = sprintf(str, "IRQ for %s: %08x ", ep_name, ep_sts); >> + >> +if (ep_sts & EP_STS_

Re: [RFC PATCH v1 13/14] usb:cdns3: Adds debugging function.

2018-11-03 Thread Joe Perches
On Sat, 2018-11-03 at 17:51 +, Pawel Laszczak wrote: > Patch implements some function used for debugging driver. [] > +static inline char *cdns3_decode_ep_irq(u32 ep_sts, const char *ep_name) > +{ > + static char str[256]; > + int ret; > + > + ret = sprintf(str, "IRQ for %s: %08x ",

[RFC PATCH v1 13/14] usb:cdns3: Adds debugging function.

2018-11-03 Thread Pawel Laszczak
Patch implements some function used for debugging driver. Signed-off-by: Pawel Laszczak --- drivers/usb/cdns3/Makefile | 2 +- drivers/usb/cdns3/debug.c | 128 + drivers/usb/cdns3/ep0.c| 3 + drivers/usb/cdns3/gadget.c | 12 drivers/usb/cdns3/ga