commit | 2860d060ac902df0164cc9580f843b101e27a2c6 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | Wed Oct 14 23:53:03 2015 +0300 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Oct 26 16:00:14 2015 +0100 |
tree | 43e730efdee8406e8105b43743523af41849cd01 | |
parent | 7f8a9a7e98f99e9cd874eaf6ca2f00438c2a7c38 [diff] |
mmc: skip reclaiming host on mmc_add_card() error There's little sense in releasing the host on mmc_add_card() error immediately after reclaiming it, so reclaim the host only in case of success. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>