Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1407837ybj; Tue, 5 May 2020 20:22:40 -0700 (PDT) X-Google-Smtp-Source: APiQypKTHIfFLwHAhqV8gFT2FoFDRwMl1oduxT/+NgKonOgDprNProRZZiFA02f3f2D6tLkvsmB0 X-Received: by 2002:a05:6402:1b0b:: with SMTP id by11mr5158431edb.269.1588735360454; Tue, 05 May 2020 20:22:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588735360; cv=none; d=google.com; s=arc-20160816; b=k7cflcP0R09zEu5/n8VTiKjY9q+XeZNbOVAO09EH/Eg64hoOKUp7kBMmDJsunW2s/N 6JiuKTqZ4/MH8LWbC54V1wjc/a4XdsTp1eIP3IdIHKJy5AKivzLl/mzUDxSSTQRkntlv ghDENZ3QJ1tXCKUorAnpNCV+60S5VzaN9WSSedF3Q34BBuyut7AuYpEXZrZLGRS9Pa7v 78sXM38DaLPMHTsz/UCKr9PJNQy5hpI7vnYRGG9Cwf2BmeyXlXNSEDKV+quIC432fuN8 cpKuKBtGpwb3tt+2xMdK6hj4FOsH8s3DH8zl+iiyLmAR4agd/EyhMj7iX0tYM07s5QPp /E9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=dpEC3yQI3mSuCSY7P/t+YPmkcKgelxvwd+Fvp6VKs0c=; b=Hmt4Wbn3CXRTSqo2oIRBZgk3vgVnOUW0k0mDffF8tkFqCFdsdZlFR3MR8mT24lymLW 1QrGUHbj9NrZMv7mnLGjVTItciqKy0qSK3kWfaZ0fdZ2uIwiG7XeaCmYmx8nOIK24Z4W Gk40SCjoU3DEEQ5WDHJ2g+Uyx9EVSAlXTVDdr/pDrFXCHJN1SCJnMxQmMe7uTpaNhrA8 MLY8eII31cMBzZ3Tm22OwauVF+t7xIlTJCuVETB7BYxavHbL6ynEj/wc/F0Vr1IWHfMk ss2dAAIt9rN28W6rFlbmiJ2y4NLOnaTDIAmr7ToG6scI2Ztxx22BTgXYojhAj51Bsnbc G/YQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f19si314223edm.263.2020.05.05.20.22.13; Tue, 05 May 2020 20:22:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726649AbgEFDT5 (ORCPT + 99 others); Tue, 5 May 2020 23:19:57 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3807 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726029AbgEFDT5 (ORCPT ); Tue, 5 May 2020 23:19:57 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 1F04FAA9770614B36C3B; Wed, 6 May 2020 11:19:52 +0800 (CST) Received: from linux-lmwb.huawei.com (10.175.103.112) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Wed, 6 May 2020 11:19:43 +0800 From: Samuel Zou To: , , , , CC: , , , Samuel Zou Subject: [PATCH -next] soundwire: qcom: Use IRQF_ONESHOT Date: Wed, 6 May 2020 11:25:53 +0800 Message-ID: <1588735553-34219-1-git-send-email-zou_wei@huawei.com> X-Mailer: git-send-email 2.6.2 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.103.112] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes coccicheck error: drivers/soundwire/qcom.c:815:7-32: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT Reported-by: Hulk Robot Signed-off-by: Samuel Zou --- drivers/soundwire/qcom.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/soundwire/qcom.c b/drivers/soundwire/qcom.c index e08a17c..a2a35f7 100644 --- a/drivers/soundwire/qcom.c +++ b/drivers/soundwire/qcom.c @@ -814,7 +814,8 @@ static int qcom_swrm_probe(struct platform_device *pdev) ret = devm_request_threaded_irq(dev, ctrl->irq, NULL, qcom_swrm_irq_handler, - IRQF_TRIGGER_RISING, + IRQF_TRIGGER_RISING | + IRQF_ONESHOT, "soundwire", ctrl); if (ret) { dev_err(dev, "Failed to request soundwire irq\n"); -- 2.6.2