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)
commitce090a4eb9626272bfd2529520f2f16351029640
tree1a268c86fa18352bc4ebb508ffa70c1680923c79
parent8b2bb0adce2c0cb63fcb77f4e54ac11ae54d84c0
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