]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sh-mmcif: no need to call pm_runtime_suspend on error
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 4 Jun 2014 11:42:12 +0000 (12:42 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 9 Jul 2014 09:26:02 +0000 (11:26 +0200)
commit3192a0249879e76be04e8bc5f4eaa9c959909195
treef8490f0d8643e3389b1f4bba5851a1048e7bfe0f
parentd093d1286e08adfbf3ad63c0400b10c6e6d6d4f0
mmc: sh-mmcif: no need to call pm_runtime_suspend on error

The pm_runtime call should implicitly disable the device once the
probe is over if there is no explicit reference gained. There is no
need to call pm_runtime_suspend() before the pm_runtime_disable()
call.

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sh_mmcif.c