summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hp/Kconfig
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2012-09-21 01:06:29 +0000
committerDavid S. Miller <davem@davemloft.net>2012-09-21 14:59:52 -0400
commita630844d898ae8a0b4a3db84af061150682e0d3c (patch)
tree8317ae037bf24b70c0fa00d560f46c724045ed5d /drivers/net/ethernet/hp/Kconfig
parentbf5b30b8a4416de04f1ac1196281ddb318669464 (diff)
downloadtalos-op-linux-a630844d898ae8a0b4a3db84af061150682e0d3c.tar.gz
talos-op-linux-a630844d898ae8a0b4a3db84af061150682e0d3c.zip
net/stmmac: Use clk_prepare_enable and clk_disable_unprepare
This patch fixes an issue introduced by commit ID 6a81c26f [net/stmmac: remove conditional compilation of clk code], which switched from the internal stmmac_clk_{en}{dis}able calls to clk_{en}{dis}able. By this, calling clk_prepare and clk_unprepare was removed. 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: Stefan Roese <sr@denx.de> Cc: Viresh Kumar <viresh.kumar@linaro.org> Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hp/Kconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud