Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1277672 > unrolled thread

[PATCH] extcon: rt8973: Add IRQF_ONESHOT to interrupt flags

Started bySaurabh Sengar <saurabh.truth@gmail.com>
First post2015-11-25 19:10 +0100
Last post2015-11-27 03:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] extcon: rt8973: Add IRQF_ONESHOT to interrupt flags Saurabh Sengar <saurabh.truth@gmail.com> - 2015-11-25 19:10 +0100
    Re: [PATCH] extcon: rt8973: Add IRQF_ONESHOT to interrupt flags Chanwoo Choi <cw00.choi@samsung.com> - 2015-11-27 03:50 +0100

#1277672 — [PATCH] extcon: rt8973: Add IRQF_ONESHOT to interrupt flags

FromSaurabh Sengar <saurabh.truth@gmail.com>
Date2015-11-25 19:10 +0100
Subject[PATCH] extcon: rt8973: Add IRQF_ONESHOT to interrupt flags
Message-ID<qyMFY-1lB-19@gated-at.bofh.it>
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1278503

FromChanwoo Choi <cw00.choi@samsung.com>
Date2015-11-27 03:50 +0100
Message-ID<qzhgJ-5bC-1@gated-at.bofh.it>
In reply to#1277672
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web