Re: how to gracefully unload an i2c driver if chip not detected?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> I recently changed the sensor on my board. Leading to kernel crash
> when entering suspend. Thanks to "no_console_suspend" cmdline
> argument, I found out that the suspend function of the "absent" chip
> gets called. It tries to take a mutex which has been freed in probe's
> "device not found" fallback code. Leading to kernel panic.

Can we have the full driver? The snipplet is not enough.

--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux