can: m_can: m_can_config_endisable(): remove double clearing of clock stop request bit
authorSean Nyekjaer <sean@geanix.com>
Wed, 11 Dec 2019 06:32:27 +0000 (07:32 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 10 Dec 2020 09:10:43 +0000 (10:10 +0100)
commitc9f4cad6cdfe350ce2637e57f7f2aa7ff326bcc6
tree0ad73804fce39cdfedb271eef6d9823f2e1fb236
parentecbaf5e13f45d8eebd3b772ba0032afcec1e519a
can: m_can: m_can_config_endisable(): remove double clearing of clock stop request bit

The CSR bit is already cleared when arriving here so remove this section of
duplicate code.

The registers set in m_can_config_endisable() is set to same exact values as
before this patch.

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Acked-by: Sriram Dash <sriram.dash@samsung.com>
Acked-by: Dan Murphy <dmurphy@ti.com>
Link: https://lore.kernel.org/r/20191211063227.84259-1-sean@geanix.com
Fixes: f524f829b75a ("can: m_can: Create a m_can platform framework")
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/m_can.c