Download raw body.
add iic_detach() to iic driver, for USB/IIC adapters
On Sat, Sep 07, 2024 at 12:54:08PM GMT, Denis Bodor wrote: > But the iic driver doesn't implement iic_detach() and so config_detach() > in my driver panics the kernel with the message: "forced detach of iic1 > failed". So I added a few lines to i2c.c. What do you think? My USB driver is starting to work properly and I realise that the drivers for the child devices of the new iic bus (such as spdmem) must also all implement their _detach() function. This impacts a lot more code than I had originally thought. I wonder if this is a good idea after all... -- Denis
add iic_detach() to iic driver, for USB/IIC adapters