commit | 0c7fe32e847ff20d1ae04b4b9f3e32f8551b4a6a | [log] [tgz] |
---|---|---|
author | Jisheng Zhang <jszhang@marvell.com> | Tue Feb 16 21:08:23 2016 +0800 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Feb 29 11:03:27 2016 +0100 |
tree | 12f4639af60eddc80bc9a769c97248efb833c237 | |
parent | 6f699531b66aad7233bef797265ac6ff21bb4f73 [diff] |
mmc: sdhci-of-arasan: fix clk issue in sdhci_arasan_remove() sdhci_pltfm_unregister() could operate host's registers, it will cause problems if the clk is already disabled and unprepared. Fix this issue by moving the clk_disable_unprepare() call to the end of remove function. Signed-off-by: Jisheng Zhang <jszhang@marvell.com> Acked-by: Sören Brinkmann <soren.brinkmann@xilinx.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>