commit | fc702cb35dcb660eefb27e9dc1fe93aed9f39f64 | [log] [tgz] |
---|---|---|
author | Ulf Hansson <ulf.hansson@linaro.org> | Thu Dec 18 10:41:43 2014 +0100 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Jan 19 09:56:14 2015 +0100 |
tree | aa05bbce61186c9f5a171711b7613761633b9b3b | |
parent | f8e3260c136b5d092ba86a78277b9a4579d8480a [diff] |
mmc: sdhci-st: Do cleanup while mmc_of_parse() return an error At errors, balance sdhci_pltfm_init() with sdhci_pltfm_free(), to make sure all data is freed properly. Cc: Srinivas Kandagatla <srinivas.kandagatla@gmail.com> Cc: Maxime Coquelin <maxime.coquelin@st.com> Cc: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Maxime Coquelin <maxime.coquelin@st.com>