Message ID | 20180813211614.16440-1-contact@stefanchrist.eu (mailing list archive) |
---|---|
Headers | show |
Series | I2C writes with interrupts disabled | expand |
On Tue, Aug 14, 2018 at 12:16 AM, Stefan Lengfeld <contact@stefanchrist.eu> 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).