diff options
author | Sergei Shtylyov | 2013-06-01 23:57:18 +0200 |
---|---|---|
committer | Simon Horman | 2013-06-11 09:10:49 +0200 |
commit | 7173e59e6b5f9cbde3ece66ae664454edcac6382 (patch) | |
tree | 3baff69cc2d007656cd201962a4a63474f0a9476 /drivers/usb/phy/Kconfig | |
parent | ARM: shmobile: Marzen: pass platform data to USB PHY device (diff) | |
download | kernel-qcow2-linux-7173e59e6b5f9cbde3ece66ae664454edcac6382.tar.gz kernel-qcow2-linux-7173e59e6b5f9cbde3ece66ae664454edcac6382.tar.xz kernel-qcow2-linux-7173e59e6b5f9cbde3ece66ae664454edcac6382.zip |
phy-rcar-usb: handle platform data
Set the USBPCTRL0 register from the passed platform data in rcar_usb_phy_init();
don't reset it to 0 in rcar_usb_phy_shutdown() anymore as that does not make
sense. Also, don't allow the driver's probe to succeed when the platform data
are not supplied with a device.
The patch has been tested on the Marzen and BOCK-W boards.
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/usb/phy/Kconfig')
0 files changed, 0 insertions, 0 deletions