mmc: sdhci-esdhc-imx: Manage sdhci_runtime_suspend_host error code
authorMichael Trimarchi <michael@amarulasolutions.com>
Thu, 4 Jan 2018 15:30:57 +0000 (16:30 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Jan 2018 08:20:59 +0000 (09:20 +0100)
commit371d39fabcebc3cb042a0a9c4bc2f494d6cde02c
treefdc8b9d8bea59e79df0d7334e12c8199ba839472
parentd72d72cd33ad59134de203b2fc4e2e4cc81e72c5
mmc: sdhci-esdhc-imx: Manage sdhci_runtime_suspend_host error code

We need to return in case of error even if the actual implementation
of sdhci_runtime_suspend_host always return 0. We don't want to
power down the clock and the assuption is that the sdhci_runtime_suspend_host
always let the system consistent in case of failure

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c