Message ID | 20210401212148.47033-2-jim2101024@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=UN2r=I6=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C3539C433ED for <linux-arm-kernel@archiver.kernel.org>; Thu, 1 Apr 2021 21:29:25 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 23890610FB for <linux-arm-kernel@archiver.kernel.org>; Thu, 1 Apr 2021 21:29:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 23890610FB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:Cc:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=wkafC8+zEKSbSil+EC1whGSWjTG3vWEF7fxkmEl+SHc=; b=AdiF1r6XDyyHHsfTud4ZVrlR6t lQbhELNgMkPhtVzDgrsGO6r1vjF6VhsOpRE70lQUAmAxosqJ53twtBnT7khtjNhECma3R7Nmm/Xml +LU5NPNt7Ebp0g1LSQx8Dm9jaoglIvzJs8Hq2K0xLFR0Cdz1tIxDki9p/68BqlEL/Xs63nK8hfk+i WDyvI7P5s+OWgbPu8uAlBXC93MVGw9AsgC4XR1n7KuqziikcJVAz+d+h0QuD/mfaAqYu8Vmd0j5te yP9ZM3HlMkgE/B4BWohPwFKfplv/vWlD9abxCgIgeb/S3OZ+wxwiKMGzKmrOSBc4KndNcQW2UaaLj hkdZ3rog==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lS4qA-00B3Rl-DA; Thu, 01 Apr 2021 21:26:58 +0000 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lS4lI-00B35K-SD; Thu, 01 Apr 2021 21:22:51 +0000 Received: by mail-pg1-x529.google.com with SMTP id p12so65758pgj.10; Thu, 01 Apr 2021 14:21:56 -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:in-reply-to:references; bh=7XSm6/qzn9duNJgtAGMhBBSTeeaC2tU96ijTiVyfrw0=; b=FVZIRLrnc8G1Hy9rQgixadd2ErSk6SMttyrJQOLWi/5XMq0Cg0ILEkiaulBE+VmFta Fk/v9tsh1o+JslU3jZLly0kNadXbLPSOEuhPDchDCfF+8S5gru2p8WWxbqKKCL8Gn+UN 7FTawmIMsHV9y6QvGzuoqMw+dmO3NqCLTSZNV46hrnIU7GNJRRiaetP8xcmF7yWVCD6T BtD9+rKJJfw6+FGl6YLL7PGUiU4bxKuj6k6AwDo4c69CS6Q1oqvQCG69vvDwrXFUKHVX 9EVIsc5TM7AhBkKvC7+IudUmfss4KwzGldZ4MYRIQXDY2Hjs9e/xfVzPRoH8Sla8lgzy 6cxA== 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=7XSm6/qzn9duNJgtAGMhBBSTeeaC2tU96ijTiVyfrw0=; b=XGuLp/jthk/w2/95ygmvnV8cKpU4GNKmC/OowaqJZ7Ghafi/h2WQyZBJJV+sQkC4+3 /wQxSXcxItFhXietbPaynUp+YIWfcusdtgSTMZfhT8RVZg4tObN4UxWi0G2iytgoCvCP r435wtYK3e4Lo7hRKEukY+S5trzsvXB+ySCsJkdsYXfHWk6qXsLlexR3Y0lQ77OEm7GW lEXb+kCsn2s0hIrX/WkHU160pYsKOenstkf4dCVQ7+KPzaXDhE7yiCgrSNaGeVWTieUX lH2DpVCWpqaZAWmb55TBysxlmg2bUQvg07+uX8vInOtwsOm9CLChipPIoyjjEtZMDGVK 1JwQ== X-Gm-Message-State: AOAM533iOp8fKLW5x8qkrP261UemQQWJLwcPy/mejTqsyVVl7aFYJnrE XO+VfPI30ITTculKPOKi9MU= X-Google-Smtp-Source: ABdhPJyfsLCcva5kpJAf0m0l/d1Xo7b+YAYAci8o03yqPZmVUlbZ1wQvQH2IXG+wFsRbemPv1EzAqw== X-Received: by 2002:a63:78cc:: with SMTP id t195mr9011398pgc.196.1617312115571; Thu, 01 Apr 2021 14:21:55 -0700 (PDT) Received: from stbsrv-and-01.and.broadcom.net ([192.19.231.250]) by smtp.gmail.com with ESMTPSA id q5sm5926707pfk.219.2021.04.01.14.21.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Apr 2021 14:21:55 -0700 (PDT) From: Jim Quinlan <jim2101024@gmail.com> To: linux-pci@vger.kernel.org, Nicolas Saenz Julienne <nsaenzjulienne@suse.de>, Rob Herring <robh@kernel.org>, Mark Brown <broonie@kernel.org>, bcm-kernel-feedback-list@broadcom.com, jim2101024@gmail.com, james.quinlan@broadcom.com Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>, Bjorn Helgaas <bhelgaas@google.com>, Florian Fainelli <f.fainelli@gmail.com>, Jim Quinlan <jquinlan@broadcom.com>, linux-rpi-kernel@lists.infradead.org (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v4 1/6] PCI: brcmstb: Check return value of clk_prepare_enable() Date: Thu, 1 Apr 2021 17:21:41 -0400 Message-Id: <20210401212148.47033-2-jim2101024@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210401212148.47033-1-jim2101024@gmail.com> References: <20210401212148.47033-1-jim2101024@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210401_222249_681785_9D8C65CA X-CRM114-Status: GOOD ( 12.13 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
PCI: brcmstb: add slot0 device regulators and panic handler
|
expand
|
diff --git a/drivers/pci/controller/pcie-brcmstb.c b/drivers/pci/controller/pcie-brcmstb.c index e330e6811f0b..4ce1f3a60574 100644 --- a/drivers/pci/controller/pcie-brcmstb.c +++ b/drivers/pci/controller/pcie-brcmstb.c @@ -1161,7 +1161,9 @@ static int brcm_pcie_resume(struct device *dev) int ret; base = pcie->base; - clk_prepare_enable(pcie->clk); + ret = clk_prepare_enable(pcie->clk); + if (ret) + return ret; ret = brcm_phy_start(pcie); if (ret)