summaryrefslogtreecommitdiff
path: root/drivers/clk/bcm
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-04-30 18:02:49 +0300
committerDavid S. Miller <davem@davemloft.net>2020-04-30 12:50:15 -0700
commit09f012e64e4b8126ed6f02d0a85a57c3a0465cf9 (patch)
tree7b35305fad718b9d42128d2dd5b1978672128d11 /drivers/clk/bcm
parent801eb0501824da196c7b1c18c453528457308c5a (diff)
stmmac: intel: Fix clock handling on error and remove paths
clk_prepare_enable() might fail, we have to check its returned value. Besides that we have to call clk_disable_unprepare() on the error and remove paths. Do above in the dwmac-intel driver. While at it, remove leftover in stmmac_pci and remove unneeded condition for NULL-aware clk_unregister_fixed_rate() call. Fixes: 58da0cfa6cf1 ("net: stmmac: create dwmac-intel.c to contain all Intel platform") Cc: Voon Weifeng <weifeng.voon@intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/clk/bcm')
0 files changed, 0 insertions, 0 deletions