mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [Question] Should we make the primary interrupt handler configurable for regmap_add_irq_chip()?
@ 2014-01-11  4:15 Yi Zhang
  2014-01-14 21:06 ` Mark Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Yi Zhang @ 2014-01-11  4:15 UTC (permalink / raw)
  To: Mark Brown; +Cc: Yi Zhang, hongfeng, linux-kernel, zhouqiao

Hi, Mark:

Sorry to trouble you;
I have a question about the regmap_add_irq_chip():
at present, we use the default primary interrupt handler to handle the
parent interrupt from a mfd device;

I met a scenario:
As soon as the interrupt is triggered, a wakelock is needed to be held
until the threaded handler finishes,
I think we may hold it in the primary interrupt handler, but now it's
NULL by default;

so could we make the the primary interrupt handler configurable? for
example, add a parameter to regmap_add_irq_chip(),
then the user can choose to use current solution or his/her own handler;

what do you think?
could you please share your opinion?

thanks very much;

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

end of thread, other threads:[~2014-01-16 14:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-11  4:15 [Question] Should we make the primary interrupt handler configurable for regmap_add_irq_chip()? Yi Zhang
2014-01-14 21:06 ` Mark Brown
2014-01-16 11:33   ` Yi Zhang
2014-01-16 14:01     ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®