Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2802852pxb; Mon, 17 Jan 2022 06:08:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQJ18zcIpWGZSwvlmzj1lG7SzkTYOEGg9VAApkuI8RBW2JcxoM5/UYcJF7r0NN056zcsPn X-Received: by 2002:a05:6a00:188c:b0:4c0:ecce:784b with SMTP id x12-20020a056a00188c00b004c0ecce784bmr21057793pfh.22.1642428537825; Mon, 17 Jan 2022 06:08:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642428537; cv=none; d=google.com; s=arc-20160816; b=PXnzHYEGAxnTt+tgVBlgpgQcFBN827qlwDbcD3YlDMmWE2c+h5JjcHGxZad9lqkVwp g1h3+3WaJJum4+9ThX1huTISETlr6d2kJZ6LTANtCdxc5lT+ylAHzuH03udjom8Ym+Gm W5eFeYOoexwwMbE9zyHATzqlI4+vJLDFU4MAtkz9d18Xmk4FwxLczRmeMvSp1qwxOtcw 2+c8aiib5sRLio43ex80WpqYBN0ri+YEJqeCFdSHk+hPOfU0m5wVpUojtpFyIWhMoyI0 672V+XajTsRE2P/lhyn3OXpmYDyN+broFiZ5IEdbpjaIBJ8kuYBYS+ylmvcxCvlohQqj ntpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=J/PZPGfvAm3BTjBREiIZ4/FI2OiMaZB8uxGzoFEnX1A=; b=01LUwLMa60DpZvQQQfZAsW4Sp0FOTegXH5PXgT0g447U9YExB3tmsu2w51mSQq7Lvz 2ICz7lYcxwqxQ6iEh3B2YDBLXfMLt7/c2Z9+zK8YRwY2JmER0u5TC8IUYipRnkV83aoo ERD20hVo2BZ5wCo7VCcpH39nnTYSw3cgGrhEYsBYTnb9KUef0frzfUVl3qnlLQqDu+lQ NKvLofsnW+7itId1e4J+AnCRyqtutijTsM0Dd50LnimR8Q47I1inJctZ8oJLmH1HqRxR HzbPjTxwLK1DgOb+JJGJdlghWQs/YhFIMh9K9CCz3IH/2gXcmDciMI/ExFo+bvyO3Nvf pLWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=SCAvpEY4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f11si13107013plo.546.2022.01.17.06.08.45; Mon, 17 Jan 2022 06:08:57 -0800 (PST) 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; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=SCAvpEY4; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234377AbiAQFor (ORCPT + 99 others); Mon, 17 Jan 2022 00:44:47 -0500 Received: from alexa-out-sd-02.qualcomm.com ([199.106.114.39]:55102 "EHLO alexa-out-sd-02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234348AbiAQFon (ORCPT ); Mon, 17 Jan 2022 00:44:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1642398283; x=1673934283; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=J/PZPGfvAm3BTjBREiIZ4/FI2OiMaZB8uxGzoFEnX1A=; b=SCAvpEY4ND2Wd6wUGDIjCdHcP1AySTIImqnoYxRazIXw20a5TN9a1nUj RdlqgsCFjwfRhwQ42SmbJ+BrMEsS5l8P8ZFkND0RIzxSD4P3Os7bw1x8/ E8HNLVpmKkgd+Ic+kxXQsSO6PaHppYA0uShF81IDT0Y/FU4GGddoH0K7w w=; Received: from unknown (HELO ironmsg01-sd.qualcomm.com) ([10.53.140.141]) by alexa-out-sd-02.qualcomm.com with ESMTP; 16 Jan 2022 21:44:43 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg01-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jan 2022 21:44:43 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Sun, 16 Jan 2022 21:44:43 -0800 Received: from c-sanm-linux.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Sun, 16 Jan 2022 21:44:38 -0800 From: Sandeep Maheswaram To: Greg Kroah-Hartman , Felipe Balbi , Stephen Boyd , Doug Anderson , Matthias Kaehlcke , Mathias Nyman CC: , , , , , Sandeep Maheswaram Subject: [PATCH v10 4/6] usb: dwc3: qcom: Change the IRQ flag for DP/DM hs phy irq Date: Mon, 17 Jan 2022 11:14:06 +0530 Message-ID: <1642398248-21753-5-git-send-email-quic_c_sanm@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1642398248-21753-1-git-send-email-quic_c_sanm@quicinc.com> References: <1642398248-21753-1-git-send-email-quic_c_sanm@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change the IRQ flags for DP/DM hs phy irq to avoid interrupt triggering during system suspend. Signed-off-by: Sandeep Maheswaram --- Change the irg flags drivers/usb/dwc3/dwc3-qcom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-qcom.c b/drivers/usb/dwc3/dwc3-qcom.c index 7352124..b13e542 100644 --- a/drivers/usb/dwc3/dwc3-qcom.c +++ b/drivers/usb/dwc3/dwc3-qcom.c @@ -473,7 +473,7 @@ static int dwc3_qcom_setup_irq(struct platform_device *pdev) irq_set_status_flags(irq, IRQ_NOAUTOEN); ret = devm_request_threaded_irq(qcom->dev, irq, NULL, qcom_dwc3_resume_irq, - IRQF_TRIGGER_HIGH | IRQF_ONESHOT, + IRQF_ONESHOT, "qcom_dwc3 DP_HS", qcom); if (ret) { dev_err(qcom->dev, "dp_hs_phy_irq failed: %d\n", ret); @@ -488,7 +488,7 @@ static int dwc3_qcom_setup_irq(struct platform_device *pdev) irq_set_status_flags(irq, IRQ_NOAUTOEN); ret = devm_request_threaded_irq(qcom->dev, irq, NULL, qcom_dwc3_resume_irq, - IRQF_TRIGGER_HIGH | IRQF_ONESHOT, + IRQF_ONESHOT, "qcom_dwc3 DM_HS", qcom); if (ret) { dev_err(qcom->dev, "dm_hs_phy_irq failed: %d\n", ret); -- 2.7.4