aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorLukas Wunner <[email protected]>2020-11-08 23:41:00 +0100
committerMark Brown <[email protected]>2020-11-12 15:16:33 +0000
commit8853b2503014aca5c793d2c7f0aabc990b32bdad (patch)
tree74c0d364c1d7d3b8030182d098d4967b88df0a97 /tools/perf/scripts/python/exported-sql-viewer.py
parent10a58c3a308af20d4fecc99cd81ef37599890c25 (diff)
spi: synquacer: Disable clock in probe error path
If the calls to platform_get_irq() or devm_request_irq() fail on probe of the SynQuacer SPI driver, the clock "sspi->clk" is erroneously not unprepared and disabled. If the clock rate "master->max_speed_hz" cannot be determined, the same happens and in addition the spi_master struct is not freed. Fix it. Fixes: b0823ee35cf9 ("spi: Add spi driver for Socionext SynQuacer platform") Signed-off-by: Lukas Wunner <[email protected]> Cc: <[email protected]> # v5.3+ Cc: Masahisa Kojima <[email protected]> Link: https://lore.kernel.org/r/232281df1ab91d8f0f553a62d5f97fc264ace4da.1604874488.git.lukas@wunner.de Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions