On 12/9/19 8:24 PM, Sean Nyekjaer wrote:
The m_can tries to detect of niso (canfd) is available while in standby, this function results in the following error:
tcan4x5x spi2.0 (unnamed net_device) (uninitialized): Failed to init module tcan4x5x spi2.0: m_can device registered (irq=84, version=32) tcan4x5x spi2.0 can2: TCAN4X5X successfully initialized.
Can you add the missing error handling to m_can_config_endisable(), and handle this error correctly in all its callers?
Marc