diff options
author | Alain Volmat <[email protected]> | 2021-07-07 10:27:00 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-07-07 17:33:52 +0100 |
commit | 7999d2555c9f879d006ea8469d74db9cdb038af0 (patch) | |
tree | c617c8ab94c46fe39a98dc868218274dc1b9d9eb /scripts/gdb/linux/config.py | |
parent | 135cbd378eab336da15de9c84bbb22bf743b38a5 (diff) |
spi: stm32: fixes pm_runtime calls in probe/remove
Add pm_runtime calls in probe/probe error path and remove
in order to be consistent in all places in ordering and
ensure that pm_runtime is disabled prior to resources used
by the SPI controller.
This patch also fixes the 2 following warnings on driver remove:
WARNING: CPU: 0 PID: 743 at drivers/clk/clk.c:594 clk_core_disable_lock+0x18/0x24
WARNING: CPU: 0 PID: 743 at drivers/clk/clk.c:476 clk_unprepare+0x24/0x2c
Fixes: 038ac869c9d2 ("spi: stm32: add runtime PM support")
Signed-off-by: Amelie Delaunay <[email protected]>
Signed-off-by: Alain Volmat <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions