From patchwork Mon Mar 1 16:07:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 388685 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp3580674jap; Mon, 1 Mar 2021 10:18:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvi9NANgkHCV5vmxLNQw42Uquk49sXdhPkBUCAOqv/3iCUty1CfqU8ldDNScNaimbXdH/b X-Received: by 2002:a50:ee16:: with SMTP id g22mr18463778eds.235.1614622738193; Mon, 01 Mar 2021 10:18:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614622738; cv=none; d=google.com; s=arc-20160816; b=m9sqp+wWxrxBSOYODEJgMXKKE+8FEQqi0CIXjoRUfQ14dUXReuELthPCT4Xalj9nZD BfMyagTuBtfoCVrHMvWACvy4wbbdFGXKH8yyDmvh6tgtHawyUipGNzc+K37jWzte6lpC qs/glDAqWB1uK/Mtd7Iw7lp/XzDlFQ2wzFEOiFQBhI720oX1MtyFss/YNJa72CGMBX1L nqF1LHPGi/pou2xVl5RiF+LqSm7+u4N/OEhjspnVsIr0xGflTieR/KIBpt24sj8MoCQs Xr/4MhLNxtUdtTEwkL/ApFDylkP19Wm9H0DQ1bAadoKGWFGkvxYcvYGduG2qghZfsc+u vwwQ== 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=X53cFujHJdHK1RnLuy/nPWJJfWPf+Rt2f3BevZ5zVqo=; b=P1vG65gYJpCr6VXy5QhhpktHZzpLy3jiK8zUrhA/o+HKucM1Btyl4aCoDuw4mApc/S 8T5F9ncFcgniF2L+b2eZd8CHHxYByH75BkRgCQ9Y1kx9xX56L8dLJpy6M9JD5HDeWLdl 67T1fRBtACX1IEOFSLK3leS4yXEsapOWZnUabc6Z+lndA5rHhwLtqSLMi0ma9W6iXQlG YhwVhBqkX62yf+MkA9fAkhHXvlUGsPhcNSDj96HQJP9Bct+SmVdEHnWVHv+CydpzeiLZ Hc/m54ofbJ+qrTao40c+chGMem2OiibqbCfnOETwzaDSGydmH17jr2NwSdR4/JrU8Swx gDKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=l+kfzZb9; 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 dp16si12237248ejc.49.2021.03.01.10.18.57; Mon, 01 Mar 2021 10:18:58 -0800 (PST) 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=l+kfzZb9; 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 S239648AbhCASSS (ORCPT + 13 others); Mon, 1 Mar 2021 13:18:18 -0500 Received: from mail.kernel.org ([198.145.29.99]:60794 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239341AbhCASLg (ORCPT ); Mon, 1 Mar 2021 13:11:36 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 280DC65023; Mon, 1 Mar 2021 17:13:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614618802; bh=o8ctnPxP1ET9DsnSSXBHqkqtsqOBpLiFKYGoHMlwa5g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l+kfzZb99t+iMYZN+99PISaAw6Ei1Nr21W1NvFmmma/A+wdHIsN4RfYGA9wOj4wM6 y+sDQ3TKcS6+kb4BmU/mdhkGyakC9otWpq6Mrk8+p6MdGl1bPPvTV6Xj1NFDSCo8Zl QLh8L+LF7rdUGOxyqNhCVkw0hyXw9jz/KH/D9KeY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Srinivas Kandagatla , Stephan Gerhold , Jun Nie , Mark Brown , Sasha Levin Subject: [PATCH 5.10 222/663] ASoC: qcom: lpass: Fix i2s ctl register bit map Date: Mon, 1 Mar 2021 17:07:50 +0100 Message-Id: <20210301161152.782345256@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210301161141.760350206@linuxfoundation.org> References: <20210301161141.760350206@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Jun Nie [ Upstream commit 5e3277ab3baff6db96ae44adf6f85d6f0f6502cc ] Fix bitwidth mapping in i2s ctl register per APQ8016 document. Fixes: b5022a36d28f ("ASoC: qcom: lpass: Use regmap_field for i2sctl and dmactl registers") Reviewed-by: Srinivas Kandagatla Reviewed-by: Stephan Gerhold Signed-off-by: Jun Nie Link: https://lore.kernel.org/r/20210201132941.460360-1-jun.nie@linaro.org Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/qcom/lpass-apq8016.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.27.0 diff --git a/sound/soc/qcom/lpass-apq8016.c b/sound/soc/qcom/lpass-apq8016.c index 0aedb3a0a798a..7c0e774ad0625 100644 --- a/sound/soc/qcom/lpass-apq8016.c +++ b/sound/soc/qcom/lpass-apq8016.c @@ -250,7 +250,7 @@ static struct lpass_variant apq8016_data = { .micmode = REG_FIELD_ID(0x1000, 4, 7, 4, 0x1000), .micmono = REG_FIELD_ID(0x1000, 3, 3, 4, 0x1000), .wssrc = REG_FIELD_ID(0x1000, 2, 2, 4, 0x1000), - .bitwidth = REG_FIELD_ID(0x1000, 0, 0, 4, 0x1000), + .bitwidth = REG_FIELD_ID(0x1000, 0, 1, 4, 0x1000), .rdma_dyncclk = REG_FIELD_ID(0x8400, 12, 12, 2, 0x1000), .rdma_bursten = REG_FIELD_ID(0x8400, 11, 11, 2, 0x1000),