Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8403e2ec authored by Marek Vasut's avatar Marek Vasut Committed by Tejun Heo
Browse files

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: default avatarMarek Vasut <marex@denx.de>
Reviewed-by: default avatarShawn Guo <shawn.guo@linaro.org>
Cc: Richard Zhu <r65037@freescale.com>
Cc: Linux-IDE <linux-ide@vger.kernel.org>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent c869325a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment