From patchwork Tue Feb 23 15:18:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= X-Patchwork-Id: 12100451 Return-Path: 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=-8.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_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 3AF0BC433E6 for ; Tue, 23 Feb 2021 15:20:30 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 E17C364E60 for ; Tue, 23 Feb 2021 15:20:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E17C364E60 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=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=3aQXOCpgafuy6D+vMBl1soRkPAMpolF8Mtfpf4CDLtA=; b=psvr3qZDc3MQfksRnSjxGkeJYi 3tGQZYEL3reO0KmGK5Hd5Blw+FncBm7qZGJoUT1leAc9FNMvuQr53mwHBCnzKKzoBRdniNrZ079Ab QRNLt7YjayQx14nhG777/ODbEXfWlWHd4Jco3KlErzjA8eu8vuBXvP4drQDKVEPh28Pa0CmOC0vKx 3ru0Tv4uqwAB6cy2XcqTQ3JmRdLPAbm1+DYHIOmXM8Nzkv0aYgTjmn3qjpmz269UHHsOvjyFozQ+W mIAuyE1auyQMv286DQS0xBiGGOnkzG7IzrTd/B9/wagJNmvyb5N+N/BSIa+zAM+VmuE4coprDqi6W w5ihsCLA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lEZSo-0008Ju-NC; Tue, 23 Feb 2021 15:19:02 +0000 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lEZSl-0008IW-Ot for linux-arm-kernel@lists.infradead.org; Tue, 23 Feb 2021 15:19:00 +0000 Received: by mail-wr1-x430.google.com with SMTP id r3so11314895wro.9 for ; Tue, 23 Feb 2021 07:18:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=K/Tx9yCU+y2QH0djBoX9dU74i3ce2yaqYK7nbKqQkNk=; b=TL7oCGLXprchebZ3OdUgGDyW8yYromAzNH+wHU50nir90LyhOyQv2uXnuBPVZPxoDK peIiE0nuQYKZFTVYEptyTYEWs8+yhJkDfDbVdPokIhXSizwIK0zkw/5YcdLyqd8CGn1A n9+fS/CSh/nrOdlwz1VsC9hHfJV+mo/jRHInjpm5z7IhQehtZdCHl8er8YtHHupWTqeW QKfhMmCDsz2KKfDY8/3rfgjL1GmRonVfXj9Sna8zPjurzF2NiiNV7rraZzN/qN+ROY/K u7GU4+/pAyV3w/vhj7Y7yzKnUQRrVmEDWhUmPYAstS1BrhHlTTJyrWhmzzKCWoyFrTqZ EVVw== 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:mime-version :content-transfer-encoding; bh=K/Tx9yCU+y2QH0djBoX9dU74i3ce2yaqYK7nbKqQkNk=; b=PiJ3B1EdRWzwZZKkBqKlV80CKkqOD258AHx1E2V6ISiKcAKu9umOxuXdUt+3pSRtYg KETCN65jbsYeBbSYHI8OYeU6QUy/CHANo1xv6mW2DyIeS0CmH7oToZvHevcxc7tTPynu 5x4TArRXgZyzM2Dx8xwWKusUohA8n87JHaegVaGDHqAhxyC94qO4LAcdnlecARMt0h5S hrHk6Qgnx6T/MetK++L7RE3rM8k/90WGiMkUjXz2oe1b6Gv4DSLqtY2DfqvPzZi5CvAM Rh7Bs3Ek8CupYc1eVHVlzh3khfVPWpuxtKOvL4Ey61kn84sGvPFfjmhKiOv1tUFg9EgH Popw== X-Gm-Message-State: AOAM531TulZn7+xb+N+8DaEPV3+FcOwTY6B37GMfR9bY6v8Iq8uwba7V k+AHjqXOM+GuiZcK380KNkk= X-Google-Smtp-Source: ABdhPJwbrKG9NwYPkN2geDMRTGukhnvFrpt6ATqs6/5GXBtMWk1846q7TDhSUxUW/ftYmyvXDVmJzQ== X-Received: by 2002:adf:b313:: with SMTP id j19mr3658184wrd.188.1614093533709; Tue, 23 Feb 2021 07:18:53 -0800 (PST) Received: from skynet.lan (170.red-88-1-105.dynamicip.rima-tde.net. [88.1.105.170]) by smtp.gmail.com with ESMTPSA id y6sm3018071wma.10.2021.02.23.07.18.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Feb 2021 07:18:53 -0800 (PST) From: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= To: jonas.gorski@gmail.com, Mark Brown , Florian Fainelli , bcm-kernel-feedback-list@broadcom.com, linux-spi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] spi: bcm63xx: fix pm_runtime Date: Tue, 23 Feb 2021 16:18:49 +0100 Message-Id: <20210223151851.4110-1-noltari@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210223_101859_886867_B623B8D7 X-CRM114-Status: UNSURE ( 9.60 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?=C3=81lvaro_Fern=C3=A1ndez_Rojas?= Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Both BCM63xx SPI drivers enable auto_runtime_pm, but they don't call pm_runtime_enable(), which results in "Failed to power device" when PM support is enabled. Álvaro Fernández Rojas (2): spi: bcm63xx-spi: fix pm_runtime spi: bcm63xx-hsspi: fix pm_runtime drivers/spi/spi-bcm63xx-hsspi.c | 7 ++++++- drivers/spi/spi-bcm63xx.c | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-)