Re: [RFC PATCH 0/4] I2C writes with interrupts disabled

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

 



On Tue, Aug 14, 2018 at 12:16 AM, Stefan Lengfeld
<contact@xxxxxxxxxxxxxxx> wrote:

> The idea is taken from the PM subsystem and the function
> pm_runtime_irq_safe().

Just a side note, please, do not use this exact API (irq_safe in PM)
as a good design reference.
That is a workaround which has more pain than solves something.

I hope that in I2C you meant something different (in terms of design).

-- 
With Best Regards,
Andy Shevchenko



[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