From patchwork Wed May 12 14:44:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 435642 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp5109014jao; Wed, 12 May 2021 12:12:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEs4tZoVCiCy3cQIM2lYoOqbtPEViLZJHwIUq00PiPzflwqwdb6W+mUZMEco27IFZqkuIU X-Received: by 2002:a05:6e02:1d9b:: with SMTP id h27mr34083199ila.243.1620846740645; Wed, 12 May 2021 12:12:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620846740; cv=none; d=google.com; s=arc-20160816; b=Yiss71GoBFgNyaGL5xvY4db3LJzCOoXCM8yXF/wmYbOzVk2YA3JvMlCcjXa3tACkN8 /piyCgG064Z4maSJjWLg5Oj8mXMEfm6KAs6ANWnzM96FW1ELZHVH+iZS7WA4NiO4Kyvo 1Vkmdjq+wTLmJmYA2SFRUTCvlue8knz5xMmA6+5quvhxC1heriGDRpDfhlHxWefSIjqE Q1vANC3r4VyNdjjxVbkQRfM4o4UT89b71kvzD8nqW20xEVXHdoQcpr0EQVK4vxm7GK3z mvFocVSdn7ZeGiDgMcmCo+1G/nP2QUBQbHDtDfvNpo+/va8TxwHfUFqSW//EB0XFLI0a cQFg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=jfaUxdDaQgHNIz+EPLbcpDUO7Co1uG6WZHqVouKVu+w=; b=UI/eyp/v5k6bW1Yds9E4+hvx4KbJzf1+Czznd2jIAzkNtmz0pv5g3k6ws6uSPVLhlh 8Z4807+0+wvHzjRhqxWzLFFPzv18l676hi+9C4kg+rOnEbUBfKf7yo2genRNehym8fam dRBBYn6RxK5btRMrSkc5KAXv5OvRVfXXJFR1lVSEgWcgDmkwHXaFePaSrlFqoI0fqn19 KZxI6i3z+ASV1HrhAl6++ejMqVRuxy+SIzUmGhSgDBp5byRTyY6++esgcY1Hpr4uh8Kq 5rMlPr63vGEqo3UuH8uMZ+BIn+ATiMZh0X3ukgqZVCa3wWVOGocCnjbhA5AoT8bNK9cl cGhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZqKbX1i4; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q8si330223ior.12.2021.05.12.12.12.20; Wed, 12 May 2021 12:12:20 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-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=@linuxfoundation.org header.s=korg header.b=ZqKbX1i4; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241116AbhELQja (ORCPT + 12 others); Wed, 12 May 2021 12:39:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:44850 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241951AbhELQbS (ORCPT ); Wed, 12 May 2021 12:31:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 24E4D61C17; Wed, 12 May 2021 15:57:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1620835077; bh=jvHHuGIIE4EqogEYLo/o5lyqYNqB7bePTncNn+JZBX0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZqKbX1i4UgjxswdWxJy2XqCHmBsays33puoRjXedCiICjW9F1s59fUxyQkMFk8h20 5j3mhG/pm1MF5BIf6sctGnkkW881HJ6tJ+kjE+31DgZi9HNzi+/XU/bM0ynjc5sFsm 1ubG1GRQMSTF1tA73FfAyHbrRyytHPJRQ12/2syY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Srinivas Kandagatla , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.12 200/677] arm64: dts: qcom: db845c: fix correct powerdown pin for WSA881x Date: Wed, 12 May 2021 16:44:06 +0200 Message-Id: <20210512144843.898481200@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210512144837.204217980@linuxfoundation.org> References: <20210512144837.204217980@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Srinivas Kandagatla [ Upstream commit c561740e7cfefaf3003a256f3a0cd9f8a069137c ] WSA881x powerdown pin is connected to GPIO1 not gpio2, so correct this. This was working so far due to a shift bug in gpio driver, however once that is fixed this will stop working, so fix this! Fixes: 89a32a4e769cc ("arm64: dts: qcom: db845c: add analog audio support") Signed-off-by: Srinivas Kandagatla Link: https://lore.kernel.org/r/20210309102025.28405-1-srinivas.kandagatla@linaro.org Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.30.2 diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index c4ac6f5dc008..96d36b38f269 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -1015,7 +1015,7 @@ left_spkr: wsa8810-left{ compatible = "sdw10217201000"; reg = <0 1>; - powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_HIGH>; + powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_HIGH>; #thermal-sensor-cells = <0>; sound-name-prefix = "SpkrLeft"; #sound-dai-cells = <0>; @@ -1023,7 +1023,7 @@ right_spkr: wsa8810-right{ compatible = "sdw10217201000"; - powerdown-gpios = <&wcdgpio 2 GPIO_ACTIVE_HIGH>; + powerdown-gpios = <&wcdgpio 1 GPIO_ACTIVE_HIGH>; reg = <0 2>; #thermal-sensor-cells = <0>; sound-name-prefix = "SpkrRight";