aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/amba-pl08x.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2013-11-25 03:47:01 -0500
committerTejun Heo <tj@kernel.org>2013-12-03 07:40:57 -0500
commit8403e2ec8d4c759f821996d3bc43ca7c512ac9a0 (patch)
tree39192b6bfe266f23882bee90f0441128b2f30a62 /drivers/dma/amba-pl08x.c
parentc869325a45ce3369d456d7632409b675c3adb7ce (diff)
ahci: imx: Pull out the clock enable/disable calls
The same code for enabling and disabling SATA clock was found in multiple places in the driver. Implement functions that enable/disable the SATA clock and use them in such places instead of duplicating the code. Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Shawn Guo <shawn.guo@linaro.org> Cc: Richard Zhu <r65037@freescale.com> Cc: Linux-IDE <linux-ide@vger.kernel.org> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/dma/amba-pl08x.c')
0 files changed, 0 insertions, 0 deletions