]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-esdhc-imx: fix runtime pm unbalance issue
authorDong Aisheng <b29396@freescale.com>
Mon, 4 Nov 2013 08:38:28 +0000 (16:38 +0800)
committerChris Ball <chris@printf.net>
Mon, 13 Jan 2014 17:48:09 +0000 (12:48 -0500)
commit8018b00a01fab847a995036bcf846d306c362816
tree1a268c86fa18352bc4ebb508ffa70c1680923c79
parent90b5c830e1be8fdab03d4702eb691f473aab6237
mmc: sdhci-esdhc-imx: fix runtime pm unbalance issue

Since we're using common esdhc_send_command for tuning commands and
the core code will call pm_runtime_put after command is finished.
So we add a pm_runtime_get_sync here to get the balance.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-esdhc-imx.c