]> git.sur5r.net Git - u-boot/commit
usb: ohci-generic: factorize PHY operation
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 14 Mar 2018 16:48:57 +0000 (17:48 +0100)
committerMarek Vasut <marex@denx.de>
Sat, 17 Mar 2018 02:20:53 +0000 (03:20 +0100)
commitcab4d48a939537ab10e00429fc774825b743ed10
treec25946e78b0cea21baa09fc8e14e7458d56714e5
parent633e1ec6bf7131d3c8fecbb4adcc96e17925a015
usb: ohci-generic: factorize PHY operation

Factorize PHY get/init/poweron and PHY poweroff/exit operations
into separate function, it simplify the error path.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
drivers/usb/host/ohci-generic.c