linux/drivers/net/can/c_can
Krzysztof Kozlowski 257a2cd3eb can: c_can: fix unbalanced runtime PM disable in error path
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>
2025-02-08 12:41:35 +01:00
..
Kconfig can: remove obsolete PCH CAN driver 2022-10-19 21:33:30 +02:00
Makefile can: c_can: add ethtool support 2021-05-27 09:42:23 +02:00
c_can.h can: c_can: don't cache TX messages for C_CAN cores 2022-09-28 10:34:04 +02:00
c_can_ethtool.c can: tree-wide: advertise software timestamping capabilities 2022-07-28 11:44:01 +02:00
c_can_main.c can: c_can: c_can_handle_bus_err(): update statistics if skb allocation fails 2024-11-26 10:49:21 +01:00
c_can_pci.c can: c_can: Remove redundant pci_clear_master 2023-03-24 19:11:20 +01:00
c_can_platform.c can: c_can: fix unbalanced runtime PM disable in error path 2025-02-08 12:41:35 +01:00