diff options
| author | Markus Elfring <[email protected]> | 2024-09-24 18:47:29 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-09-29 23:12:23 +0000 |
| commit | 610442f85c12ff662e3dec50c53d92f7a8e5a783 (patch) | |
| tree | 64fb0b1e0e4adac0049e5e1f9f84b157279e3155 /drivers/spi/spi-microchip-core-qspi.c | |
| parent | spi: spi-fsl-lpspi: Use IRQF_NO_AUTOEN flag in request_irq() (diff) | |
| download | kernel-610442f85c12ff662e3dec50c53d92f7a8e5a783.tar.gz kernel-610442f85c12ff662e3dec50c53d92f7a8e5a783.zip | |
spi: slave-mt27xx: Call clk_disable_unprepare() only once in mtk_spi_slave_probe()
A clk_disable_unprepare(mdata->spi_clk) call was immediately used
after a return value check for a devm_spi_register_controller() call
in this function implementation.
Thus call such a function only once instead directly before the check.
This issue was transformed by using the Coccinelle software.
Signed-off-by: Markus Elfring <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/spi/spi-microchip-core-qspi.c')
0 files changed, 0 insertions, 0 deletions
