diff options
| author | Marc Kleine-Budde <mkl@pengutronix.de> | 2025-08-06 17:46:32 +0200 |
|---|---|---|
| committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2025-10-08 10:18:28 +0200 |
| commit | ba569fb07a7e9e9b71e9282e27e993ba859295c2 (patch) | |
| tree | c4c3a1a4571dff9e9a588f625229bae44476c0d1 /scripts/lib/kdoc/kdoc_parser.py | |
| parent | a12f0bc764da3781da2019c60826f47a6d7ed64f (diff) | |
can: m_can: m_can_plat_remove(): add missing pm_runtime_disable()
Commit 227619c3ff7c ("can: m_can: move runtime PM enable/disable to
m_can_platform") moved the PM runtime enable from the m_can core
driver into the m_can_platform.
That patch forgot to move the pm_runtime_disable() to
m_can_plat_remove(), so that unloading the m_can_platform driver
causes an "Unbalanced pm_runtime_enable!" error message.
Add the missing pm_runtime_disable() to m_can_plat_remove() to fix the
problem.
Cc: Patrik Flykt <patrik.flykt@linux.intel.com>
Fixes: 227619c3ff7c ("can: m_can: move runtime PM enable/disable to m_can_platform")
Reviewed-by: Markus Schneider-Pargmann <msp@baylibre.com>
Link: https://patch.msgid.link/20250929-m_can-fix-state-handling-v4-1-682b49b49d9a@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions
