1
0
Fork 0
alistair23-linux/drivers/net/can/m_can
Marc Kleine-Budde 82adac5ad1 can: m_can: m_can_class_unregister(): remove erroneous m_can_clk_stop()
commit c4aec381ab upstream.

In m_can_class_register() the clock is started, but stopped on exit. When
calling m_can_class_unregister(), the clock is stopped a second time.

This patch removes the erroneous m_can_clk_stop() in  m_can_class_unregister().

Fixes: f524f829b7 ("can: m_can: Create a m_can platform framework")
Cc: Dan Murphy <dmurphy@ti.com>
Cc: Sriram Dash <sriram.dash@samsung.com>
Reviewed-by: Sean Nyekjaer <sean@geanix.com>
Link: https://lore.kernel.org/r/20201215103238.524029-2-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-17 14:05:35 +01:00
..
Kconfig can: tcan4x5x: replace depends on REGMAP_SPI with depends on SPI 2020-11-24 13:29:06 +01:00
Makefile can: tcan4x5x: Add tcan4x5x driver to the kernel 2019-07-24 10:31:54 +02:00
m_can.c can: m_can: m_can_class_unregister(): remove erroneous m_can_clk_stop() 2021-01-17 14:05:35 +01:00
m_can.h can: m_can: m_can_class_free_dev(): introduce new function 2020-11-24 13:29:07 +01:00
m_can_platform.c can: m_can_platform: don't call m_can_class_suspend in runtime suspend 2020-10-29 09:57:24 +01:00
tcan4x5x.c can: tcan4x5x: fix bittiming const, use common bittiming from m_can driver 2021-01-17 14:05:35 +01:00