commit | 84e561407a5f62a8746dcf8f920e4682690435a0 | [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 | 7cc1af902dfad290ab39b0ee52128b18d83a151a [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>