diff options
author | Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> | 2018-02-06 17:12:09 +0300 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2018-02-26 15:49:26 -0600 |
commit | 1693a577be14a92e61563bad306aa11a359757f5 (patch) | |
tree | 0f5e16ca4901e3e471347f49a7ca5f5f0b5bddca /configs/ventana_defconfig | |
parent | 8d6312032e16c7413c16e3e6c827aeae2d0140b0 (diff) |
NET: designware: fix clock enable
After commit ba1f966725223 ("net: designware: add clock support")
we got NET broken on axs101 and axs103 platforms.
Some clock don't support gating so their clock drivers don't
implement .enable/.disable callbacks. In such case clk_enable
returns -ENOSYS.
Also some clock drivers implement .enable/.disable callbacks not for all
clock IDs and return -ENOSYS (or -ENOTSUPP) for others.
If we have such clock in 'clocks' list of designware ethernet controller
node we fail to probe designware ethernet.
Fix it.
Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'configs/ventana_defconfig')
0 files changed, 0 insertions, 0 deletions