linux/drivers/net/can
Lucas Stach 81f1f5ae8b can: m_can_platform: don't call m_can_class_suspend in runtime suspend
0704c57436 can: m_can_platform: remove unnecessary m_can_class_resume() call

removed the m_can_class_resume() call in the runtime resume path to get
rid of a infinite recursion, so the runtime resume now only handles the device
clocks.

Unfortunately it did not remove the complementary m_can_class_suspend() call in
the runtime suspend function, so those paths are now unbalanced, which causes
the pinctrl state to get stuck on the "sleep" state, which breaks all CAN
functionality on SoCs where this state is defined. Remove the
m_can_class_suspend() call to fix this.

Fixes: 0704c57436 can: m_can_platform: remove unnecessary m_can_class_resume() call
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Link: https://lore.kernel.org/r/20200811081545.19921-1-l.stach@pengutronix.de
Acked-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2020-10-06 23:29:30 +02:00
..
c_can treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
cc770 treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
ifi_canfd treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
m_can can: m_can_platform: don't call m_can_class_suspend in runtime suspend 2020-10-06 23:29:30 +02:00
mscan treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
peak_canfd treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
rcar treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
sja1000 treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
softing treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
spi treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
usb treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
at91_can.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
dev.c can: add missing attribute validation for termination 2020-03-03 13:28:48 -08:00
flexcan.c can: flexcan: poll MCR_LPM_ACK instead of GPR ACK for stop mode acknowledgment 2019-12-08 12:21:35 +01:00
grcan.c
janz-ican3.c treewide: Remove uninitialized_var() usage 2020-07-16 12:35:15 -07:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
kvaser_pciefd.c
led.c
Makefile
pch_can.c
rx-offload.c
slcan.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
sun4i_can.c net: Fix return value about devm_platform_ioremap_resource() 2020-05-23 16:28:25 -07:00
ti_hecc.c
vcan.c
vxcan.c
xilinx_can.c can: xilinx_can: Fix missing Rx can packets on CANFD2.0 2019-12-08 11:52:02 +01:00