commit | e820402f3c02d99e7a09588e96ca92b28313ec2b | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Mon Apr 27 16:57:54 2015 +0200 |
committer | Hans de Goede <hdegoede@redhat.com> | Mon May 04 16:51:55 2015 +0200 |
tree | ab54002dae09ebac95f6ba20f0ea5db0766b8bd1 | |
parent | 1168e092c53a1cffbbb32e26d1ceb5266f6eb404 [diff] |
sunxi: usb: Protect phy-init and phy-power-on against multiple calls Once we add support for the ohci controller the phy-init and phy-power-on functions may be called twice (once by the ehci code and once by the ohci code) protect them against this. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>