Message ID | 20201202094159.107075-25-manivannan.sadhasivam@linaro.org |
---|---|
State | Accepted |
Commit | 6cc1716102b55497dd557e8295a3177315332f9a |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp777988ejs; Wed, 2 Dec 2020 01:45:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJw/xp1VPFdN9loB1zq4F/5rM5Ici3T3fMGRDXldbgljDNFWLr679ZI6zUxkE3SEfKdRC+Js X-Received: by 2002:a17:906:f6c4:: with SMTP id jo4mr1466746ejb.145.1606902301895; Wed, 02 Dec 2020 01:45:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606902301; cv=none; d=google.com; s=arc-20160816; b=miDkDfmKezVpKNR1j2Ap74ceJ0nr1TdAoWOvi2KEZFE6/aclZ99O6HVOWezIKoMdHg NK8+xpwxHutkgcJeF09ZIk3EBVDyryEkN5oqKyMgRjHlU52XZTa3I7TxMGBg85k+kKVo fqjjsJ64BPheL0aWaOvRj7tpWHsXWxbV5xk0fjMN/487vQm4rp6/j6+8641F2xzM/RU7 oUJc/nwTuaqs9S4bL9xcuKkJfs8YzCNHx+3P2mqErvsmaZ8qh6i7wC4H7pLhRgYDgG54 0wbtVnEvM144WH2TeRWfanq9pdZ60Vxd/ekS9zlCNXecbzU1kozLgKkHXTUTCFb+7IOu P7Rw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=U6tuxJXwhPncIR+38W/QdB/JkWjIPeIUW2URyo+M7Yc=; b=nkBOCpKDwfHgcjsto7yID4Brc1CbGfrhXqyjpjFpXcx44E08oh7u5hDwWMcNIerUa1 CNW+z4mXb1Wov2IdJV22WaGtjk2D56Pj7jwKukVbsiF7A0pbiQFX/TJzY+SNQy5I6cAU vewLlGikepYX2dtwuhQydelo+EGJ57PSsoSq0AyhRE2EZA/mOlVilFUMkyJNK5bDTHK9 IwdfRyBUZyHm035729R/sDfY2PGz8H9GdpHdkCsnsoVKN+nwP29pEEPx87KC/PBtUfNR EO/oMi9j3qo36AgcLpHaRxx+jMpWVqxy+witoaqVOffb1LIgC/pQDC9+98WQRFynLk55 OBXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xbXswLJ7; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-arm-msm-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id do13si531726ejc.286.2020.12.02.01.45.01; Wed, 02 Dec 2020 01:45:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-msm-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=@linaro.org header.s=google header.b=xbXswLJ7; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388432AbgLBJox (ORCPT <rfc822;patch@linaro.org> + 15 others); Wed, 2 Dec 2020 04:44:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388619AbgLBJoq (ORCPT <rfc822;linux-arm-msm@vger.kernel.org>); Wed, 2 Dec 2020 04:44:46 -0500 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE2CAC061A4C for <linux-arm-msm@vger.kernel.org>; Wed, 2 Dec 2020 01:44:01 -0800 (PST) Received: by mail-pg1-x542.google.com with SMTP id o5so745273pgm.10 for <linux-arm-msm@vger.kernel.org>; Wed, 02 Dec 2020 01:44:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=U6tuxJXwhPncIR+38W/QdB/JkWjIPeIUW2URyo+M7Yc=; b=xbXswLJ7+f0M/CEswANqTGQd6R/+AlDh+HPlu6bJdxK1gDa8YCcwq5q9zqIwTWiH+r Nd0ZQG23ERxLUL7QAx/G2IkcA29X5dkz2nneEJASBL5N1YnA1IROh5OikEOiZutWoeDb apL/d4XAKFbvO4fVmSI4nYq8JOb5/ltLJ0e2AqVPaFH8xceocAcp/p0LmkX8xkwgNXLD bBmNxqd7JusVyyTz8jezOf9wVD2gRMDbt5viugOXQqrslUNfBfSJoeiIl+ZbCWWAxpXc OZ7b37wFDRty/xZC1lnUxN9sH1mKCoWh9zDQVkFgWkkW9l3eiZQzAr921ESUbrnxKUFC pkxQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=U6tuxJXwhPncIR+38W/QdB/JkWjIPeIUW2URyo+M7Yc=; b=GreZRw0A2CaQe2chDlcud2NzRIpt0+UxMTo0rfmIKKNU6HaPz6MfuUR5OjAIi+Y4uK 4mvWajs4wri1S+wqn/UUHf+LrklYi5XoSc6zcQv62LjeozEHbvUSnxkq4GRu6xiPU6NF BznapOA7dmZwrxt+eiM7+msPzRAgj6SDOkftff8iyFf4tJEEMHa9nE/+vrDrGsJazw15 uRnOqNHiZRwo8BeH94HCCeBeDy2JjIcKA9z4mNOIwNKD1AFPnqxKR/gup3O119ifapwz StCV90RdHLTJvYydcBgEXW/yEWEDj4r77aPH5tN+C8Eiamj9nQQfObcuuhPuw7UQmpS8 UTKg== X-Gm-Message-State: AOAM530WtpTSTsdZAVpI4uGM1Q5XBqtxigbI+nqNTYRrV0E8hFIGXmD3 M5jU+6gn3LupPip5Nh5YLjMI X-Received: by 2002:a63:fa0e:: with SMTP id y14mr1901280pgh.225.1606902241222; Wed, 02 Dec 2020 01:44:01 -0800 (PST) Received: from localhost.localdomain ([103.59.133.81]) by smtp.gmail.com with ESMTPSA id bg8sm1393990pjb.52.2020.12.02.01.43.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2020 01:44:00 -0800 (PST) From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> To: gregkh@linuxfoundation.org Cc: hemantk@codeaurora.org, bbhatt@codeaurora.org, linux-arm-msm@vger.kernel.org, jhugo@codeaurora.org, linux-kernel@vger.kernel.org, loic.poulain@linaro.org, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Subject: [PATCH 24/29] bus: mhi: core: Remove MHI event ring IRQ handlers when powering down Date: Wed, 2 Dec 2020 15:11:54 +0530 Message-Id: <20201202094159.107075-25-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201202094159.107075-1-manivannan.sadhasivam@linaro.org> References: <20201202094159.107075-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <linux-arm-msm.vger.kernel.org> X-Mailing-List: linux-arm-msm@vger.kernel.org |
Series |
MHI changes for v5.11
|
expand
|
diff --git a/drivers/bus/mhi/core/pm.c b/drivers/bus/mhi/core/pm.c index ffbf6f539510..a671f585ce35 100644 --- a/drivers/bus/mhi/core/pm.c +++ b/drivers/bus/mhi/core/pm.c @@ -494,6 +494,7 @@ static void mhi_pm_disable_transition(struct mhi_controller *mhi_cntrl) for (i = 0; i < mhi_cntrl->total_ev_rings; i++, mhi_event++) { if (mhi_event->offload_ev) continue; + free_irq(mhi_cntrl->irq[mhi_event->irq], mhi_event); tasklet_kill(&mhi_event->task); } @@ -1164,7 +1165,7 @@ void mhi_power_down(struct mhi_controller *mhi_cntrl, bool graceful) /* Wait for shutdown to complete */ flush_work(&mhi_cntrl->st_worker); - mhi_deinit_free_irq(mhi_cntrl); + free_irq(mhi_cntrl->irq[0], mhi_cntrl); if (!mhi_cntrl->pre_init) { /* Free all allocated resources */