Re: [PATCH v6 3/8] regulator: IRQ based event/error notification helpers

2021-04-08 Thread Vaittinen, Matti
On Thu, 2021-04-08 at 12:58 +0300, Andy Shevchenko wrote: > On Thu, Apr 8, 2021 at 11:21 AM Matti Vaittinen > wrote: > > Hello Andy, > > > > On Wed, 2021-04-07 at 16:21 +0300, Andy Shevchenko wrote: > > > On Wed, Apr 7, 2021 at 1:04 PM Matti Vaittinen > > > wrote: > > > > Provide helper

Re: [PATCH v6 3/8] regulator: IRQ based event/error notification helpers

2021-04-08 Thread Andy Shevchenko
On Thu, Apr 8, 2021 at 11:21 AM Matti Vaittinen wrote: > > Hello Andy, > > On Wed, 2021-04-07 at 16:21 +0300, Andy Shevchenko wrote: > > On Wed, Apr 7, 2021 at 1:04 PM Matti Vaittinen > > wrote: > > > Provide helper function for IC's implementing regulator > > > notifications > > > when an IRQ

Re: [PATCH v6 3/8] regulator: IRQ based event/error notification helpers

2021-04-08 Thread Matti Vaittinen
Hello Andy, On Wed, 2021-04-07 at 16:21 +0300, Andy Shevchenko wrote: > On Wed, Apr 7, 2021 at 1:04 PM Matti Vaittinen > wrote: > > Provide helper function for IC's implementing regulator > > notifications > > when an IRQ fires. The helper also works for IRQs which can not be > > acked. > >

Re: [PATCH v6 3/8] regulator: IRQ based event/error notification helpers

2021-04-07 Thread Matti Vaittinen
Hello Andy, All. On Wed, 2021-04-07 at 16:21 +0300, Andy Shevchenko wrote: > On Wed, Apr 7, 2021 at 1:04 PM Matti Vaittinen > wrote: > > Provide helper function for IC's implementing regulator > > notifications > > when an IRQ fires. The helper also works for IRQs which can not be > > acked. > >

Re: [PATCH v6 3/8] regulator: IRQ based event/error notification helpers

2021-04-07 Thread Andy Shevchenko
On Wed, Apr 7, 2021 at 1:04 PM Matti Vaittinen wrote: > > Provide helper function for IC's implementing regulator notifications > when an IRQ fires. The helper also works for IRQs which can not be acked. > Helper can be set to disable the IRQ at handler and then re-enabling it > on delayed work

[PATCH v6 3/8] regulator: IRQ based event/error notification helpers

2021-04-07 Thread Matti Vaittinen
Provide helper function for IC's implementing regulator notifications when an IRQ fires. The helper also works for IRQs which can not be acked. Helper can be set to disable the IRQ at handler and then re-enabling it on delayed work later. The helper also adds regulator_get_error_flags() errors in