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 -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
Attachment:
signature.asc
Description: OpenPGP digital signature