mmc: core: Add error message when switching fails in mmc_select_hs()
authorJungseung Lee <js07.lee@samsung.com>
Wed, 24 Aug 2016 10:34:09 +0000 (19:34 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Sep 2016 19:31:14 +0000 (21:31 +0200)
commit67d35960f445176d5548c660a1b1708cad1c2042
treecb2cf78e1a8108eb3597fef34f5759a97628a4ae
parentff026099d775c74548839f1d627eb0b2bec0b857
mmc: core: Add error message when switching fails in mmc_select_hs()

The switch failure message in mmc_select_timing() had been removed
since that is invalid: commit 0400ed0a083a ("mmc: core: remove the
invalid message in mmc_select_timing")

Now, in the case when mmc_select_hs() return error in mmc_select_timing(),
there is nothing to print failure message.
Let's make for mmc_select_hs() print message itself in the failure case.

Signed-off-by: Jungseung Lee <js07.lee@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc.c