diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2024-10-29 14:17:49 +0100 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2024-10-30 12:02:15 +0100 |
commit | 88df25ad0c5afbafe42fab023fc9b0e688f4b4e1 (patch) | |
tree | e7cd726177af408384d78cd6ff7742e8506c4d0a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7acbd2da48faee6ff856b2322c799d5c7b144d52 (diff) |
mmc: core: Fix error paths for UHS-II card init and re-init
The error path didn't manage the removal of the allocated mmc_card
correctly. Let's fix this to avoid potential memory leaks.
While at it, move the assignment of host->card to slightly later in the
init process and drop also a somewhat silly dev_warn() when CMD8 fails.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Adrian Hunter <adrian.hunter@intel.com>
Message-ID: <20241029131752.226764-4-ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions