[PATCH] ARM: multi_v7_defconfig: enable usb3503

Arnd Bergmann arnd at arndb.de
Fri Jun 5 05:45:51 PDT 2015


On Thursday 04 June 2015 10:47:07 Kevin Hilman wrote:
> 
> > But I wonder why is not working, shouldn't the driver defer and
> > be probed again once the PHY driver probe succeeds?
> 
> Yeah, I'm not sure why that isn't working, and didn't look into it.
> 
> FWIW, the same problem happens when both are modules.  If you modprobe
> usb3503 first, then the phy, it doesn't work.  You have to load the phy
> before the usb3503.
> 
> 

The driver does not try to get a reference to the phy, and it does
not return -EPROBE_DEFER in any circumstance, so I assume it just
runs into an error condition on the first probe and does not
try again.

I don't really understand why the driver registers both an i2c_driver
and a platform_driver, or if that is required, but it may also
complicate getting deferred probing to work here.

	Arnd



More information about the linux-arm-kernel mailing list