sst-linux/drivers/net/can/c_can
Krzysztof Kozlowski d79de85b48 can: c_can: fix unbalanced runtime PM disable in error path
commit 257a2cd3eb578ee63d6bf90475dc4f4b16984139 upstream.

Runtime PM is enabled as one of the last steps of probe(), so all
earlier gotos to "exit_free_device" label were not correct and were
leading to unbalanced runtime PM disable depth.

Fixes: 6e2fe01dd6 ("can: c_can: move runtime PM enable/disable to c_can_platform")
Cc: stable@vger.kernel.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://patch.msgid.link/20250112-syscon-phandle-args-can-v1-1-314d9549906f@linaro.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-02-21 13:50:04 +01:00
..
c_can_ethtool.c
c_can_main.c
c_can_pci.c
c_can_platform.c can: c_can: fix unbalanced runtime PM disable in error path 2025-02-21 13:50:04 +01:00
c_can.h
Kconfig
Makefile