net: designware: add clock support
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 29 Nov 2017 08:06:11 +0000 (09:06 +0100)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Jan 2018 18:05:20 +0000 (12:05 -0600)
commitba1f966725223c605ed504b09446c52a3f201c2b
treed93b30b3e122747996272273f635e54a3e5de7b0
parentea8cd652a791db47bf7b77a6af2a63fe35954ea2
net: designware: add clock support

This implementation manages several clocks, disable and
free all of them in case of error during probe and in remove
callback.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/designware.c
drivers/net/designware.h