mmc: core: skip card initialization if power class selection fails
authorSubhash Jadavani <subhashj@codeaurora.org>
Thu, 12 Apr 2012 14:06:07 +0000 (19:36 +0530)
committerChris Ball <cjb@laptop.org>
Wed, 9 May 2012 14:07:12 +0000 (10:07 -0400)
With current implementation of power class selection,
mmc_select_powerclass() should never fail. So treat any error
returned by this function as serious enough to skip the card
initialization.

Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Reviewed-by: Namjae Jeon <linkinjeon@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

No differences found