commit | a1cee8e808042e2597d162b1687fdb470634271e | [log] [tgz] |
---|---|---|
author | Patrice Chotard <patrice.chotard@st.com> | Tue Jul 18 11:57:10 2017 +0200 |
committer | Marek Vasut <marex@denx.de> | Fri Jul 28 23:34:09 2017 +0200 |
tree | 8069d75df68546c40918e38ef9fda64e7c880f5c | |
parent | 10bb775e925d2a1c516c96904a5e1d2e747c4e1b [diff] |
usb: host: ehci-generic: add error path and .remove callback Use an array to save enabled clocks reference and deasserted resets in order to respectively disabled and asserted them in case of error during probe() or during driver removal. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Simon Glass <sjg@chromium.org>