Re: [PATCH 4/5] usb: chipidea: AR933x platform support for the chipidea driver

2013-02-14 Thread Gabor Juhos
Hi Svetoslav, > Support host and device usb modes for the chipidea controller in AR933x. > The controller doesn't support OTG functionality so the platform code > forces one of the modes based on the state of GPIO13 pin at startup. > > Signed-off-by: Svetoslav Neykov > --- <...> > diff --git a

[PATCH] usb: phy: don't return with NULL from devm_usb_get_phy()

2013-10-11 Thread Gabor Juhos
The callers are expecting an ERR_PTR value in case of an error. Change he code to return with an encoded -ENOMEM value in the case of a failed devres_alloc call. Signed-off-by: Gabor Juhos --- drivers/usb/phy/phy.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers