Re: lis3lv02d i2c access on shutdown

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

 



I think it is the same issue. How would i2c_transfer_noirq work? In my case another task was in the middle of a transaction when it was "stopped". This means not only do you need i2c_transfer_noirq, but also need to flush the bus before calling kernel_shutdown_prepare().


On 03/04/2017 04:32 PM, Wolfram Sang wrote:
issue with i2c since other drivers have the same design. What I don't
have is clear understanding of if/when/how i2c_transfer() can be called
post kernel_power_off().
Not sure if it is exactly the same issue, but last year we concluded
that we probably need an optional i2c_transfer_noirq callback in
i2c_adapter to talk to PMICs very late or very early. No work has been
done so far, though. I hope I will find time for it this year.


--
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