diff options
| author | Heiner Kallweit <hkallweit1@gmail.com> | 2017-03-04 13:25:14 +0100 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-04-24 21:41:10 +0200 |
| commit | cac3a47855c24bf060e58977473747ef3de7dedf (patch) | |
| tree | 0833795bd5314ae430ff8ae1e3d01ab0481af9f6 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | mmc: meson-gx: remove member parent_mux from struct meson_host (diff) | |
| download | linux-cac3a47855c24bf060e58977473747ef3de7dedf.tar.gz linux-cac3a47855c24bf060e58977473747ef3de7dedf.zip | |
mmc: meson-gx: fix error path in meson_mmc_clk_init / meson_mmc_probe
The condition should be "if (ret)" as the disable/unprepare is
supposed to be executed if the previous command fails.
In addition adjust the error path in probe to properly deal
with the case that cfg_div_clk can be registered successfully
but enable/prepare fails.
In this case we shouldn't call clk_disable_unprepare.
Reported-by: MichaĆ Zegan <webczat_200@poczta.onet.pl>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Acked-by: Kevin Hilman <khilman@baylibre.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
