diff options
author | Lukas Wunner <lukas@wunner.de> | 2020-12-07 09:17:16 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-12-07 15:19:00 +0100 |
commit | 234266a5168bbe8220d263e3aa7aa80cf921c483 (patch) | |
tree | 02fefd1e1c962110a11e5093d541a39a9e20f68c /drivers/spi/atmel-quadspi.c | |
parent | spi: ar934x: Don't leak SPI master in probe error path (diff) | |
download | linux-234266a5168bbe8220d263e3aa7aa80cf921c483.tar.xz linux-234266a5168bbe8220d263e3aa7aa80cf921c483.zip |
spi: npcm-fiu: Disable clock in probe error path
If the call to devm_spi_register_master() fails on probe of the NPCM FIU
SPI driver, the clock "fiu->clk" is erroneously not unprepared and
disabled. Fix it.
Fixes: ace55c411b11 ("spi: npcm-fiu: add NPCM FIU controller driver")
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Cc: <stable@vger.kernel.org> # v5.4+
Cc: Tomer Maimon <tmaimon77@gmail.com>
Link: https://lore.kernel.org/r/9ae62f4e1cfe542bec57ac2743e6fca9f9548f55.1607286887.git.lukas@wunner.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/atmel-quadspi.c')
0 files changed, 0 insertions, 0 deletions