]> git.baikalelectronics.ru Git - kernel.git/commit
usb: phy: generic: fix how we find out about our resources
authorFelipe Balbi <balbi@ti.com>
Thu, 24 Oct 2013 14:45:29 +0000 (09:45 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 25 Nov 2013 16:25:57 +0000 (10:25 -0600)
commit203f49d7008a793e8865b18e6168c44be81c154c
tree599735437d547dfd14d23d67a4028c507e6a5762
parent92a8bb2fad5c0354c36fb626dabd0111ecf1d522
usb: phy: generic: fix how we find out about our resources

instead of having each user of generic phy find
out about its own resources and pass it to the
core layer, have th core layer itself figure that
out. It's as simple as moving a piece of code
around. This fixes a big regression caused during
the merge window where am335x-based platforms
wouldn't be able to probe their PHY driver.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-am335x.c
drivers/usb/phy/phy-generic.c
drivers/usb/phy/phy-generic.h