If the PLL is needed ist must be switched on after chip reset. This patch adds the required call to mcp251xfd_register(). Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> --- drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c b/drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c index d4309afef02e..ab6d4c26d82c 100644 --- a/drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c +++ b/drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c @@ -2830,6 +2830,10 @@ static int mcp251xfd_register(struct mcp251xfd_priv *priv) if (err) goto out_chip_set_mode_sleep; + err = mcp251xfd_chip_clock_init(priv); + if (err) + goto out_chip_set_mode_sleep; + err = mcp251xfd_register_chip_detect(priv); if (err) goto out_chip_set_mode_sleep; -- 2.30.2