commit | 5c59065be5a1b347e06d1ad57e017ae2992e606a | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Wed Apr 20 11:16:31 2016 +0900 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon May 02 10:33:34 2016 +0200 |
tree | f151df000076000b59513d3ba6b91fb69f0ab5a9 | |
parent | 378382b8d09d43371872103a58e4d4a7ff14b556 [diff] |
mmc: sdhci-pltfm: call platform_get_irq() before sdhci_alloc_host() Swap the call order of sdhci_alloc_host() and platform_get_irq(). It makes sdhci_alloc_host() the last function that can fail in the sdhci_pltfm_init(). So, we can drop the sdhci_free_host() call from the failure path. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>