Message ID | 20190425195310.31562-12-mathieu.poirier@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp2362275jan; Thu, 25 Apr 2019 12:53:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqwmZKK9lo4k6O/p5WkVTnb76V1RZk4g+p3AHfaC6ZIPq2PPMYJMynexF4GWU1qR17x9EArA X-Received: by 2002:aa7:991b:: with SMTP id z27mr14775597pff.168.1556222011182; Thu, 25 Apr 2019 12:53:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556222011; cv=none; d=google.com; s=arc-20160816; b=RLcaMZer4yuboWaFTCN04rMENoayrWyp5u/ZtXrM8jzjT6F5XT046Lkt9HiYnwPdvv AGPQPFBnzt6Pkjwf56CiYb4a4qnI0uRDQlKbG7E8y9tblq5/qAD0yeMIm6/HtZ4T7bKP 6Pvl1LDSaG3nGpWt8GlV7cKehjWAyULSP2dePveVRWWiJ8Dt/ydGOf7eoSTZJps72/qB /b9zq8fCd1UAn1CZ94sACaXAvHqxx8P9ZRBn1efQ3TvqKY7xBOHoktU4RPTYJQ5WixT9 F49tpINmwWvccnT0YQgPlguUWjB/cPX0S5Y++bOFDz49i/7tqMrATSV1HSh2U86QzQ/z eirg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=Cvob0FDX1MLZ+fYnYf8rcIMYa/saPGP93kDs1sAwGb4=; b=hpzkSQP1XycST/8vxuZbXFfeNd2UiQP0hlm35dv71jNKe0MVfvIWWl0XqJAaWLJNAl 7yhz5ONJCXB+AKjX4/jtfgL8wWD6jiJw9cYs/6r1oB0Od+ZqUBGrjSna12/MG/HBJEuf NcnAjIVXdF1f8apV3x8LigHIlTM1uqfHGyDTbKG9gY30ovWs5Dyd+9aGHjmk/zxOch6W Ud+zTMUtXGydFsWdNMViUT1UdvzaLxAtCIOFCUSo8g5LhfbGBqmbgoHQSY+SivCX2f7N xx7KEpfOTO4kJFVTnSQyv/a//Grj5O4CUSMrX8WbmC4TGwz/WP22kkXxPT0ckdoZ8YiL FXBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="rh//OABQ"; 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=NONE dis=NONE) header.from=linaro.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w8si299663plz.301.2019.04.25.12.53.30; Thu, 25 Apr 2019 12:53:31 -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=@linaro.org header.s=google header.b="rh//OABQ"; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387737AbfDYTxa (ORCPT <rfc822;mike.holmes@linaro.org> + 30 others); Thu, 25 Apr 2019 15:53:30 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:38432 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387650AbfDYTx1 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 25 Apr 2019 15:53:27 -0400 Received: by mail-pg1-f196.google.com with SMTP id j26so367014pgl.5 for <linux-kernel@vger.kernel.org>; Thu, 25 Apr 2019 12:53:26 -0700 (PDT) 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; bh=Cvob0FDX1MLZ+fYnYf8rcIMYa/saPGP93kDs1sAwGb4=; b=rh//OABQz7zsUprVfGn8AeYsjPLxok5dsW/boSDequbQ4T/RR+3w8L3NuINWOD5Jlj d32vwY+T97/8GSI+cebCzofMWDGB9I5byKBAnd0j1GS3fkHOzDwkWjiBp/ScPNuB7HLD 8JEfonwA7XOJTWNLkwz2n0A5eCEdAlCIi8yDHzvtWllGkkcsEQ+KBq+TEOoAVmlSX5/6 c/uRaFwzYVCOMWMw1OfIXQicfnM7GtXuFfJ0C9OlEtQja/RpbI0sb2/TxZSLLwnQkiN2 YcRCijbcfUS0QNJXMMnFqy+v3X7LXI2tLVcEmcSOeSRTdm0MZm3eqnwAoaYzAWbNgqrd RVAg== 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; bh=Cvob0FDX1MLZ+fYnYf8rcIMYa/saPGP93kDs1sAwGb4=; b=aP0/03bLvBK5SibW5a36Df3HKiB/xyaGEMb4p0jlAm+dd/BusltTWJYcEC6DV5ja+o Fv3JD0eXbJF8C/LpX3asJ/b9wtBRrjfpv7m6CyI9qM4323M4P5lS7XXJxz8jc10iHZQB ERkZvNrZa0p+W4SwciteSzxQ62Pt0d8bv/OAO89tgfWuX+Y1D1LeV1c847K+tBHHMTPs BfpJoBVh9Y3eNFPAhMLHdpy/mZf+bOpL6ApEIqzpeaYdflKYt91op5dVijT00RUqmXQC TTlgVGGGxOhvruVAOy1+NuM4F/UXxk7cdhiT4eYeEWgUcfpILc1KYSEGNwWi/uT1p3e+ Njzw== X-Gm-Message-State: APjAAAWuI7hivJqRaT6hsazBQEW0z2kpeFMD4xRvTKlrYpICcWFrOVeZ gXJLDDFaxpgGcDcfu6chqrtSM5a4iyw= X-Received: by 2002:a63:d10:: with SMTP id c16mr3717008pgl.156.1556222006665; Thu, 25 Apr 2019 12:53:26 -0700 (PDT) Received: from xps15.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [68.147.8.254]) by smtp.gmail.com with ESMTPSA id t64sm47261961pfa.86.2019.04.25.12.53.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Apr 2019 12:53:25 -0700 (PDT) From: Mathieu Poirier <mathieu.poirier@linaro.org> To: gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 11/32] coresight: catu: Cleanup power management Date: Thu, 25 Apr 2019 13:52:49 -0600 Message-Id: <20190425195310.31562-12-mathieu.poirier@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190425195310.31562-1-mathieu.poirier@linaro.org> References: <20190425195310.31562-1-mathieu.poirier@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
coresight: next v5.1-rc6
|
expand
|
diff --git a/drivers/hwtracing/coresight/coresight-catu.c b/drivers/hwtracing/coresight/coresight-catu.c index 057627a0753d..4ea68a3522e9 100644 --- a/drivers/hwtracing/coresight/coresight-catu.c +++ b/drivers/hwtracing/coresight/coresight-catu.c @@ -557,8 +557,9 @@ static int catu_probe(struct amba_device *adev, const struct amba_id *id) drvdata->csdev = coresight_register(&catu_desc); if (IS_ERR(drvdata->csdev)) ret = PTR_ERR(drvdata->csdev); + else + pm_runtime_put(&adev->dev); out: - pm_runtime_put(&adev->dev); return ret; }