commit | a0809dcdef47f2e3bf8c98d97fcf5bbb2f737a1c | [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 | 5e7a080d64010bb9d6c28ef51340ce68035de833 [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>