commit | ea7c49efead3cb6805b3eb4b7e9582505ceed480 | [log] [tgz] |
---|---|---|
author | Patrice Chotard <patrice.chotard@foss.st.com> | Tue Sep 06 08:15:26 2022 +0200 |
committer | Marek Vasut <marex@denx.de> | Mon Oct 10 18:08:18 2022 +0200 |
tree | f09f2e8d1ea772812c45b7c0bbba336342b1dcc8 | |
parent | 9725534978d20e27634c828b728517bf5c58722a [diff] |
phy: Add generic_{setup,shutdown}_phy() helpers In drivers usb/host/{ehci,ohci}-generic.c, {ehci,ohci}_setup_phy() and {ehci,ohci}_shutdown_phy() shares 95% of common code. Factorize this code in new generic_{setup,shudown}_phy() functions. Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com> Cc: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org>