usb: host: ohci-generic: add CLOCK support
authorPatrice Chotard <patrice.chotard@st.com>
Tue, 18 Jul 2017 09:57:12 +0000 (11:57 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 28 Jul 2017 21:34:11 +0000 (23:34 +0200)
commit155d9f65d3bf78cc7113475110c129dc0dbbdae1
treec09471e8a02754f00218b8a9547b17401c4b4af1
parent0d0ba1a73d6c34b7668f860e90ab57eacd9dd5b4
usb: host: ohci-generic: add CLOCK support

use array to save enabled clocks reference in order to
disabled 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>
drivers/usb/host/ohci-generic.c