* [PATCH] extcon: rt8973: Add IRQF_ONESHOT to interrupt flags
@ 2015-11-25 18:01 Saurabh Sengar
2015-11-27 2:47 ` Chanwoo Choi
0 siblings, 1 reply; 2+ messages in thread
From: Saurabh Sengar @ 2015-11-25 18:01 UTC (permalink / raw)
To: myungjoo.ham, cw00.choi, linux-kernel; +Cc: Saurabh Sengar
Add IRQF_ONESHOT if no primary handler is provided for request threaded
irq
Signed-off-by: Saurabh Sengar <saurabh.truth@gmail.com>
---
drivers/extcon/extcon-rt8973a.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/extcon/extcon-rt8973a.c b/drivers/extcon/extcon-rt8973a.c
index 36bf1d6..e1bb8280 100644
--- a/drivers/extcon/extcon-rt8973a.c
+++ b/drivers/extcon/extcon-rt8973a.c
@@ -603,7 +603,7 @@ static int rt8973a_muic_i2c_probe(struct i2c_client *i2c,
ret = devm_request_threaded_irq(info->dev, virq, NULL,
rt8973a_muic_irq_handler,
- IRQF_NO_SUSPEND,
+ IRQF_NO_SUSPEND | IRQF_ONESHOT,
muic_irq->name, info);
if (ret) {
dev_err(info->dev,
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] extcon: rt8973: Add IRQF_ONESHOT to interrupt flags
2015-11-25 18:01 [PATCH] extcon: rt8973: Add IRQF_ONESHOT to interrupt flags Saurabh Sengar
@ 2015-11-27 2:47 ` Chanwoo Choi
0 siblings, 0 replies; 2+ messages in thread
From: Chanwoo Choi @ 2015-11-27 2:47 UTC (permalink / raw)
To: Saurabh Sengar, myungjoo.ham, linux-kernel
On 2015년 11월 26일 03:01, Saurabh Sengar wrote:
> Add IRQF_ONESHOT if no primary handler is provided for request threaded
> irq
>
> Signed-off-by: Saurabh Sengar <saurabh.truth@gmail.com>
> ---
> drivers/extcon/extcon-rt8973a.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/extcon/extcon-rt8973a.c b/drivers/extcon/extcon-rt8973a.c
> index 36bf1d6..e1bb8280 100644
> --- a/drivers/extcon/extcon-rt8973a.c
> +++ b/drivers/extcon/extcon-rt8973a.c
> @@ -603,7 +603,7 @@ static int rt8973a_muic_i2c_probe(struct i2c_client *i2c,
>
> ret = devm_request_threaded_irq(info->dev, virq, NULL,
> rt8973a_muic_irq_handler,
> - IRQF_NO_SUSPEND,
> + IRQF_NO_SUSPEND | IRQF_ONESHOT,
> muic_irq->name, info);
> if (ret) {
> dev_err(info->dev,
>
Applied it.
Thanks,
Chanwoo Choi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-27 2:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-25 18:01 [PATCH] extcon: rt8973: Add IRQF_ONESHOT to interrupt flags Saurabh Sengar
2015-11-27 2:47 ` Chanwoo Choi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.