From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754011AbcDAJzB (ORCPT ); Fri, 1 Apr 2016 05:55:01 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:55620 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750963AbcDAJy7 (ORCPT ); Fri, 1 Apr 2016 05:54:59 -0400 Subject: Re: [PATCH] extcon: palmas: Drop stray IRQF_EARLY_RESUME flag To: Nishanth Menon , Chanwoo Choi , MyungJoo Ham References: <1459458951-4882-1-git-send-email-nm@ti.com> CC: , , , Tony Lindgren , Lee Jones , Roger Quadros From: Grygorii Strashko Message-ID: <56FE4554.9090702@ti.com> Date: Fri, 1 Apr 2016 12:54:28 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1459458951-4882-1-git-send-email-nm@ti.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/01/2016 12:15 AM, Nishanth Menon wrote: > Palams extcon IRQs are nested threaded and wired to the Palmas > inerrupt controller. So, this flag is not required for nested > irqs anymore, since commit 3c646f2c6aa9 ("genirq: Don't suspend > nested_thread irqs over system suspend") was merged. However, the > fix missed a stray flag causing the following crash on resume on Ok. Sry, my bad I've had to check next. Reviewed-by: Grygorii Strashko > > Fixes: ae64e42cc2b3 ("extcon: palmas: Drop IRQF_EARLY_RESUME flag") > Cc: Grygorii Strashko > Cc: MyungJoo Ham > Cc: Chanwoo Choi > Cc: Tony Lindgren > Cc: Lee Jones > Cc: Roger Quadros > > Signed-off-by: Nishanth Menon > --- > drivers/extcon/extcon-palmas.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/extcon/extcon-palmas.c b/drivers/extcon/extcon-palmas.c > index 841a4b586395..8b3226dca1d9 100644 > --- a/drivers/extcon/extcon-palmas.c > +++ b/drivers/extcon/extcon-palmas.c > @@ -348,8 +348,7 @@ static int palmas_usb_probe(struct platform_device *pdev) > palmas_vbus_irq_handler, > IRQF_TRIGGER_FALLING | > IRQF_TRIGGER_RISING | > - IRQF_ONESHOT | > - IRQF_EARLY_RESUME, > + IRQF_ONESHOT, > "palmas_usb_vbus", > palmas_usb); > if (status < 0) { > -- regards, -grygorii