Re: [PATCH 2/2] USB: ehci-omap: Improve PHY error handling

2013-04-17 Thread Roger Quadros
On 04/16/2013 06:32 PM, Alan Stern wrote: > On Mon, 15 Apr 2013, Roger Quadros wrote: > >> As the USB PHY layer never returns NULL we don't need >> to check for that condition. >> >> If we fail to get the PHY device it could be due >> to missing USB PHY drivers. Give this hint to the user >> in th

Re: [PATCH 2/2] USB: ehci-omap: Improve PHY error handling

2013-04-16 Thread Alan Stern
On Mon, 15 Apr 2013, Roger Quadros wrote: > As the USB PHY layer never returns NULL we don't need > to check for that condition. > > If we fail to get the PHY device it could be due > to missing USB PHY drivers. Give this hint to the user > in the error message. > > CC: Alan Stern > Signed-off-

[PATCH 2/2] USB: ehci-omap: Improve PHY error handling

2013-04-15 Thread Roger Quadros
As the USB PHY layer never returns NULL we don't need to check for that condition. If we fail to get the PHY device it could be due to missing USB PHY drivers. Give this hint to the user in the error message. CC: Alan Stern Signed-off-by: Roger Quadros --- drivers/usb/host/ehci-omap.c |6 +