[PATCH 0/6] dma:Use devm_clk_get_enabled() helpers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The devm_clk_get_enabled() helpers:
    - call devm_clk_get()
    - call clk_prepare_enable() and register what is needed in order to
     call clk_disable_unprepare() when needed, as a managed resource.

This simplifies the code and avoids the calls to clk_disable_unprepare().

Liao Yuanhong (6):
  dma:at_hdmac:Use devm_clk_get_enabled() helpers
  dma:dma-jz4780:Use devm_clk_get_enabled() helpers
  dma:imx-dma:Use devm_clk_get_enabled() helpers
  dma:imx-sdma:Use devm_clk_get_enabled() helpers
  dma:milbeaut-hdmac:Use devm_clk_get_enabled() helpers
  dma:uniphier-mdmac:Use devm_clk_get_enabled() helpers

 drivers/dma/at_hdmac.c       | 22 ++++----------
 drivers/dma/dma-jz4780.c     | 18 ++++--------
 drivers/dma/imx-dma.c        | 38 ++++++++----------------
 drivers/dma/imx-sdma.c       | 57 ++++--------------------------------
 drivers/dma/milbeaut-hdmac.c | 20 ++++---------
 drivers/dma/uniphier-mdmac.c | 20 ++++---------
 6 files changed, 41 insertions(+), 134 deletions(-)

-- 
2.25.1





[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux