We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49ffacb commit dfe99baCopy full SHA for dfe99ba
drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c
@@ -596,11 +596,9 @@ static int mcp251xfd_chip_clock_enable(const struct mcp251xfd_priv *priv)
596
"Timeout waiting for Oscillator Ready (osc=0x%08x, osc_reference=0x%08x)\n",
597
osc, osc_reference);
598
return -ETIMEDOUT;
599
- } else if (err) {
600
- return err;
601
}
602
603
- return 0;
+ return err;
604
605
606
static int mcp251xfd_chip_softreset_do(const struct mcp251xfd_priv *priv)
0 commit comments