mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
mmc: sh_mmcif: Fix suspend process
The clock should be enable when SDHI registers are accessed. Signed-off-by: Koji Matsuoka <[email protected]> Signed-off-by: Yoshihiro Kaneko <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
This commit is contained in:
parent
3b1cac4d9f
commit
5afc30fc66
1 changed files with 2 additions and 0 deletions
|
|
@ -1632,7 +1632,9 @@ static int sh_mmcif_suspend(struct device *dev)
|
|||
{
|
||||
struct sh_mmcif_host *host = dev_get_drvdata(dev);
|
||||
|
||||
pm_runtime_get_sync(dev);
|
||||
sh_mmcif_writel(host->addr, MMCIF_CE_INT_MASK, MASK_ALL);
|
||||
pm_runtime_put(dev);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue