spi: atmel-quadspi: remove references to runtime PM on error path
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Fri, 7 Feb 2025 12:21:45 +0000 (13:21 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 16 Feb 2025 23:59:53 +0000 (23:59 +0000)
commit99e6ea912340d6a262a60d5dd0c87c5e7b2d6ff2
tree57c287056f9884679885d54b2e9fee452288b37f
parent0ad2507d5d93f39619fc42372c347d6006b64319
spi: atmel-quadspi: remove references to runtime PM on error path

There is no need to call runtime PM put APIs on error path of
`atmel_qspi_sama7g5_transfer()` as the caller (`atmel_qspi_exec_op()`)
of it will take care of this if needed.

Fixes: 5af42209a4d2 ("spi: atmel-quadspi: Add support for sama7g5 QSPI")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Durai Manickam KR <durai.manickamkr@microchip.com>
Reported-by: Alexander Dahl <ada@thorsis.com>
Closes: https://lore.kernel.org/linux-spi/20250109-carat-festivity-5f088e1add3c@thorsis.com/
[ csokas.bence: Rebase and clarify msg, fix/add tags ]
Signed-off-by: Bence Csókás <csokas.bence@prolan.hu>
Link: https://patch.msgid.link/20250207122145.162183-2-csokas.bence@prolan.hu
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/atmel-quadspi.c