linux/drivers/mmc
Jisheng Zhang 2df9d58fcc mmc: sdhci-of-at91: fix pm runtime unbalanced issue in error path
The device power usage counter is increased by pm_runtime_get_noresume
but isn't decreased in err_add_host error path.

Fix this issue by calling pm_runtime_put_noidle() in the error path to
restore the device's power usage counter.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Fixes: f5f17813ae ("mmc: sdhci-of-at91: add PM support)
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2016-02-02 14:09:14 +01:00
..
card mmc: block: Allow more than 8 partitions per card 2015-12-28 12:51:38 +01:00
core mmc: pwrseq_simple: Make reset-gpios optional to match doc 2016-01-21 13:52:27 +01:00
host mmc: sdhci-of-at91: fix pm runtime unbalanced issue in error path 2016-02-02 14:09:14 +01:00
Kconfig
Makefile mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00