mmc: core: return an error on suspend if mmc_deselect_cards fails
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 31 May 2012 11:31:47 +0000 (20:31 +0900)
committerChris Ball <cjb@laptop.org>
Wed, 6 Jun 2012 13:49:47 +0000 (09:49 -0400)
commit85e727edb963459d13cdd9ce84c335d251a005a7
treecfa8fe464a986f5e490ce4dd3537a3b5f3629a5d
parentebbe6f889f36d35f4d1757ba2ecc0af6150bf12b
mmc: core: return an error on suspend if mmc_deselect_cards fails

When mmc_host is not spi mode, mmc/sd is doing mmc_deselect_cards().
mmc_deselect_cards could be returned error.
If returned error, we can know something wrong when enter suspend.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/mmc.c
drivers/mmc/core/sd.c