devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/1] regulator: da9121: add IRQ free to release function
@ 2020-12-02 11:32 Adam Ward
  2020-12-02 11:32 ` [PATCH V2 1/1] regulator: da9121: Request IRQ directly and free in release function to avoid masking race Adam Ward
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Adam Ward @ 2020-12-02 11:32 UTC (permalink / raw)
  To: Mark Brown, Rob Herring
  Cc: Liam Girdwood, Vincent Whitchurch, linux-kernel, devicetree,
	Support Opensource

This patch fixes the DA9121 driver to disable the IRQ before cancelling
the work, to be sure the IRQ doesn't restart it before all IRQs are
masked

V2:

 - Fix to release IRQ if regmap error fails probe

Adam Ward (1):
  regulator: da9121: Request IRQ directly and free in release function
    to avoid masking race

 drivers/regulator/da9121-regulator.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-02 17:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-02 11:32 [PATCH V2 0/1] regulator: da9121: add IRQ free to release function Adam Ward
2020-12-02 11:32 ` [PATCH V2 1/1] regulator: da9121: Request IRQ directly and free in release function to avoid masking race Adam Ward
2020-12-02 13:26 ` [PATCH V2 0/1] regulator: da9121: add IRQ free to release function Mark Brown
2020-12-02 17:19 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).