]> git.karo-electronics.de Git - linux-beck.git/commit
mmc: return mmc_of_parse() errors to caller
authorSimon Baatz <gmbnomis@gmail.com>
Sun, 9 Jun 2013 20:14:11 +0000 (22:14 +0200)
committerChris Ball <cjb@laptop.org>
Thu, 27 Jun 2013 14:22:44 +0000 (10:22 -0400)
commitec0a7517dc25b4cca8a694fd61e09771bffba022
treef0d9f2cc5624ce459320dd6ec9a038060f510fc0
parentfca9661c6c8926171a49f6ac57adc65290f10caf
mmc: return mmc_of_parse() errors to caller

In addition to just logging errors encountered during DT parsing or
allocating GPIO slots for CD/WP, mmc_of_parse() now returns with an error.

In particular, this is needed if the GPIO allocation may return
EPROBE_DEFER.

Signed-off-by: Simon Baatz <gmbnomis@gmail.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/host.c
include/linux/mmc/host.h