Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753837AbbK0Cr3 (ORCPT ); Thu, 26 Nov 2015 21:47:29 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:55343 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753714AbbK0Cr1 convert rfc822-to-8bit (ORCPT ); Thu, 26 Nov 2015 21:47:27 -0500 X-AuditID: cbfee690-f79e96d0000073db-3e-5657c42c557e MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 8BIT Message-id: <5657C42C.7090703@samsung.com> Date: Fri, 27 Nov 2015 11:47:08 +0900 From: Chanwoo Choi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 To: Saurabh Sengar , myungjoo.ham@samsung.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] extcon: rt8973: Add IRQF_ONESHOT to interrupt flags References: <1448474471-11031-1-git-send-email-saurabh.truth@gmail.com> In-reply-to: <1448474471-11031-1-git-send-email-saurabh.truth@gmail.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprAIsWRmVeSWpSXmKPExsWyRsSkUFfnSHiYwbPjRhaXd81hs7jduILN YsctAQdmj52z7rJ79G1ZxejxeZNcAHMUl01Kak5mWWqRvl0CV8a7Jw9ZC/6wVZyZOZOxgfEC axcjJ4eEgInEhrl/2SBsMYkL99YD2VwcQgIrGCU2dF9kgSma/eQbI0RiFqPElpnzwDp4BQQl fky+B1bELKAuMWneImYIW1hiy/ZXbBC2tsSyha+ZIZofMEq8+HqaBaJZS2L9pWeMIDaLgKpE 98+HTCA2G1B8/4sbQM0cHKICERLdJypBwiICaRL9/c/B5gsLeEicfnINzBYScJf4+bwH7BtO oPiXxnPsILskBKazS9x4s4MFYr6AxLfJh1hAZkoIyEpsOsAM8ZikxMEVN1gmMIrNQvLOLCTv zELyziwk7yxgZFnFKJpakFxQnJReZKJXnJ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4btX lc5yCZua35qv8+PvOvD9Qr+hS9r56M1v5m3+olrWnTwpXV+o+vbha5y3en+rSGsWZeX66Rf4 PSq02Hh6lsaRayE972dcqlT9nCWycN3FFet2nb2Skif7TomlOCPRUIu5qDgRADOOaabWAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1089 Lines: 33 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 > --- > 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/