dmaengine: at_hdmac: prepare clk before calling enable
authorBoris BREZILLON <b.brezillon@overkiz.com>
Wed, 19 Jun 2013 11:14:54 +0000 (13:14 +0200)
committerVinod Koul <vinod.koul@intel.com>
Fri, 5 Jul 2013 06:10:57 +0000 (11:40 +0530)
commitf784d9c90469d75a9f7a38c1568f47e95ae504ca
tree1ab9f2905dfe2bd8e02a15ee076ca0c78661a944
parentc3dbc60c9b2510fee6cea9b77b89a7708bf98bd3
dmaengine: at_hdmac: prepare clk before calling enable

Replace clk_enable/disable with clk_prepare_enable/disable_unprepare to
avoid common clk framework warnings.

Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
[nicolas.ferre@atmel.com: remove return code checking in at_dma_resume_noirq()]
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/dma/at_hdmac.c