Skip to contentSkip to conversation

convert gpio-keys.c driver to request_any_context_irq

DISCUSSION Trilok Soni 2 participants 2 messages Dec 16, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Dmitry,

gpio_keys.c driver should be converted to use request_any_context_irq(...) infrastructure because some of the devices could use gpios from PMIC like chips where their irqs gets registered as nested. I don't have any device with such configuration but I was looking at this driver and I thought if someone has come across this then they can test and submit the patch.

---Trilok Soni

Signature · 2 lines
Sent by a consultant of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
#1 lore raw
Quoted 8 lines · Trilok Soni

Hi Dmitry,

gpio_keys.c driver should be converted to use request_any_context_irq(...) infrastructure because some of the devices could use gpios from PMIC like chips where their irqs gets registered as nested. I don't have any device with such configuration but I was looking at this driver and I thought if someone has come across this then they can test and submit the patch.

Hi Trilok,

Yes, I agree.

If someone who has device served by gpio_keys and coudl prepare a patch changing request_irq() to request_any_context_irq() I'll gladly accept it.

Thanks.

Signature · 1 line
Dmitry