• Stefan Roese's avatar
    net: stmmac: Fix clock en-/disable calls · 883ffd6e
    Stefan Roese authored
    clk_{un}prepare is mandatory for platforms using common clock framework.
    Since these drivers are used by SPEAr platform, which supports common
    clock framework, add clk_{un}prepare() support for them. Otherwise
    the clocks are not correctly en-/disabled and ethernet support doesn't
    work.
    Signed-off-by: default avatarStefan Roese <sr@denx.de>
    Cc: Viresh Kumar <viresh.linux@gmail.com>
    Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    883ffd6e
stmmac.h 5.01 KB