Re: [PATCH] mmc: mediatek: make sure clock is enabled when executing ops->card_busy()

2016-01-29 Thread Ulf Hansson
On 28 January 2016 at 20:31, Chaotian Jing wrote: > add pm_runtime_get_sync() before access MSDC_PS register This isn't need as the mmc core does that when claiming the host, see below commit. >From that point there have been some additional fixup, as there were actually some paths when to core

[PATCH] mmc: mediatek: make sure clock is enabled when executing ops->card_busy()

2016-01-28 Thread Chaotian Jing
add pm_runtime_get_sync() before access MSDC_PS register Signed-off-by: Chaotian Jing --- drivers/mmc/host/mtk-sd.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c index 82a97ac..a56b16d 100644 --- a/drivers/m