Re: [PATCH 3/4] usb: gadget: net2280: print error in ep_ops error paths

2015-02-27 Thread Felipe Balbi
Hi, On Mon, Feb 02, 2015 at 10:55:25AM +0100, Mian Yousaf Kaukab wrote: @@ -465,13 +484,18 @@ static struct usb_request struct net2280_ep *ep; struct net2280_request *req; - if (!_ep) + if (!_ep) { + pr_err(%s: Invalid ep\n, __func__);

[PATCH 3/4] usb: gadget: net2280: print error in ep_ops error paths

2015-02-02 Thread Mian Yousaf Kaukab
Hopefully, these prints will help localize the problems faster. Signed-off-by: Mian Yousaf Kaukab yousaf.kau...@intel.com --- drivers/usb/gadget/udc/net2280.c | 174 --- 1 file changed, 126 insertions(+), 48 deletions(-) diff --git