Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10460656ybi; Wed, 24 Jul 2019 23:39:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqzaUL71H+kdkzVvtd4P9gUfw74O8oApqCttDGwcn/Sh8CoUGComioZtBun5v8FTObod+imp X-Received: by 2002:a17:90a:246f:: with SMTP id h102mr90123006pje.126.1564036770374; Wed, 24 Jul 2019 23:39:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564036770; cv=none; d=google.com; s=arc-20160816; b=Ay9kieNeLY2FnEvqS2c5n7/KVMWTwtCC9DZDyI8Rg12jomjaU7PsTbetReGdbuDALc LMjJNvETR2igqLhWnnj8+Xq3qigqXfxlv8qMD5Oqrd7gUNKHRU0CeOG7MLHoT9gHwIBY cGGbUl3qg+M29Ct2i5F7ygG8jiLDELko2TRKzTKpwF9YCVnS7ODLY0YmK7tiTqWGylpG H3vYT6OUW9l/X3BsbqKzDtoXzRB1lTXFTC6OuaReCRDUmQhehUP+mUjAMTU8pdGdfPUG cQbEQzwSokA5Lj1opiBWlg6t7Sln9Yp8C5RUc3i/RKC5K4QU11dqrrKFFw1DECDjmdfl cbqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=qDTb1Rzvoo33PFd/6lloqawvXmbYh3nthJRHEPH6N/I=; b=OjPf3jcRoWWMYzNKxjcQqtsnwOdoU4Fb+7VaknFG613jB4J+9Q1A0DxYXybz/jLuFf teN0WjgsugZriyM1Z7tEUz1HMYyOP1HAqyFt/pt8xpZnu4EKv6m93J1gprsmY4Y5ubTZ huLOjLJg1D6MuvblefvI/mW3vG4lxUP8NC4rPcro3+Y8e/GX4W1eNe6s/ZgDe3tl73lZ kCe+O55BNo0AnvMNbK95RO9aGwd+VNq+9mVq/Zln4tA2S2d2plPZ7YAaxMD4bL1+u25r S3u6G8gaOn61kFlAoL/kGNZjkb86KfswFcZF6jVcFFDB1Xl/8Demkbghrn4D3caIMNQC KjoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z+NyyiM4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z10si15753139pln.285.2019.07.24.23.39.14; Wed, 24 Jul 2019 23:39:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z+NyyiM4; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726692AbfGYGhA (ORCPT + 99 others); Thu, 25 Jul 2019 02:37:00 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:32822 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725819AbfGYGhA (ORCPT ); Thu, 25 Jul 2019 02:37:00 -0400 Received: by mail-lf1-f68.google.com with SMTP id x3so33766561lfc.0 for ; Wed, 24 Jul 2019 23:36:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=qDTb1Rzvoo33PFd/6lloqawvXmbYh3nthJRHEPH6N/I=; b=Z+NyyiM46NCiDn9Xz14fDBt92EzUlU0sS9f0c3Qpxvo7/bxSgd9eK5k4ZM8+uz2sdZ cgzUEW8yQ9xBLh/iQYPeg7TAQm/fpWVDshF5+25qNqfkwEzfdD/des6RccrpIveoLF27 8bPGfCPWXlglGcsPBNdJLyJ93pLrWP0C5CNXSwRZ3hiIGusRlEmZVDznSDklUYSaG7BC CMhyHrQcV1wXVMX1hgJPSGXnVqUGZ5vfKb3+YsJcAgAwWwg+TL15sbb0kI4GSMGq37Bo U0IV4/NWb2nXzJ8dhcdnAlCSWK5mpCHY70iX22NQhG/hNQfdS153kVcrydEUfVdhivF4 WESA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=qDTb1Rzvoo33PFd/6lloqawvXmbYh3nthJRHEPH6N/I=; b=rNhfu5j3ByLhVC7d/jzsTFhFyryikxagZw/hm0W8ds5fBlkyY04HqBp8SST2r3PjJ6 DV6z5hc2N4ks93d+5QHjV1jhFfTCrv5yUh4ZEMQB3cIzN5D80VYPCEJz02JkhqD5Bgeo /owHgdFTgt9mHJocDcm7pi+WyOdJfPL/AaycG54wZVqt+TRRjh8dtk2Et3VolDTouGNq Qb4TrpVpX9oONLWv9PdiSdPCLwwd7wc4FDrxs0U1oEGTneudZ7jvCv7tnPH4lrUHCtXJ FWAzqBzhANsGRHSe0L+u31UwNIEkHdy8cc689RwexrW2BNO+zxetd6gMf73/muQVtM+j M0Ww== X-Gm-Message-State: APjAAAXWQ+/fRI7CEJgSVTRCM6uQzSyATUEWvVN6A4kBy6AXOD/Mrrq7 zC1A7nLaoPiLCcrytdzbZF4= X-Received: by 2002:ac2:52b7:: with SMTP id r23mr9593065lfm.120.1564036618243; Wed, 24 Jul 2019 23:36:58 -0700 (PDT) Received: from ul001888.eu.tieto.com ([91.198.246.10]) by smtp.gmail.com with ESMTPSA id m9sm8342294lfo.45.2019.07.24.23.36.57 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 24 Jul 2019 23:36:57 -0700 (PDT) From: Vasyl Gomonovych To: cw00.choi@samsung.com, krzk@kernel.org, b.zolnierkie@samsung.com, myungjoo.ham@samsung.com Cc: Vasyl Gomonovych , linux-kernel@vger.kernel.org Subject: [PATCH] extcon: max77693: Add extra IRQF_ONESHOT Date: Thu, 25 Jul 2019 08:36:44 +0200 Message-Id: <20190725063644.5982-1-gomonovych@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Do not fire irq again until thread done This issue was found by code inspection Coccicheck irqf_oneshot.cocci Signed-off-by: Vasyl Gomonovych --- drivers/extcon/extcon-max77693.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index 32fc5a66ffa9..68e42cd87e98 100644 --- a/drivers/extcon/extcon-max77693.c +++ b/drivers/extcon/extcon-max77693.c @@ -1142,7 +1142,7 @@ static int max77693_muic_probe(struct platform_device *pdev) ret = devm_request_threaded_irq(&pdev->dev, virq, NULL, max77693_muic_irq_handler, - IRQF_NO_SUSPEND, + IRQF_NO_SUSPEND | IRQF_ONESHOT, muic_irq->name, info); if (ret) { dev_err(&pdev->dev, -- 2.17.1