From patchwork Mon Mar 1 16:07:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 388695 Delivered-To: patch@linaro.org Received: by 2002:a02:290e:0:0:0:0:0 with SMTP id p14csp3598535jap; Mon, 1 Mar 2021 10:42:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJy0KF86y20zKfdGe2cU+DEDvrmtu1Hkz3eF7lzjtENomM++CJrqRdTDe4TMQkFvvD/EeQ91 X-Received: by 2002:aa7:cc96:: with SMTP id p22mr17674433edt.240.1614624165261; Mon, 01 Mar 2021 10:42:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614624165; cv=none; d=google.com; s=arc-20160816; b=z7aFjowb7WfhdbNDVyqseeoZpOcdzR2xxYv7y5DsWUk9NvIVCpO0LpCcnIAeEWr0Zt TEwcU9hGLSFVn2nYGCjJPiV0Bpqbc5syDZsbS3Zh8q1yki+cjCbURYxzfhxX4Mejn5el UpLTIjPJFFH+1Grw+2X9knGLxmI2JfrvF7s70bIc4v/Ma5shZMhgBXh4KW2cdlj7NwHS aVB2E83VmDxplYJdRSf0kngJ99tFu87rm7S0HHPkJ6AQ5/4UhrVqrGd0YTdpnBHDuqoJ MvnBaVsg6BD7G1bsL+AXlhtkChfthPaRtVfErSDLuvhsGlp/CC2SFPo5ufaCUqvZDJF/ ZoPw== 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=/EVf0BLUfgp7L7CrS6cVvFmzn4psB4YjygXkK/cPHew=; b=Z0UI2aEbnyfar967f4PbJnKmtztpWEapyT+atpdaQUPS82RAaBKlvuDbK2nwA7ShfA UC7TKxICIJtfwM175YgdY3vXzU/SVR0sHHuUfrH+SfUVvxHrutcZyKmpSdXw2wVj9n4H ShN8oaNN6Nzr1X8kFv3Pg3sOnKOtwJ4jWJARhGjmI8nALewrS3X+MQPkxtTa2DIqr+1f o11uD2YyksTq+2r2laRdTpUd7n3pmR10cbTgKTsvB69VvfjWEHA2sukATdAXC6dXMJGK OIFpjBFvb/3MI9ejA9UPQeQYWGZMCIgKr+CuyuCKQ4ZpZvBCi8TRIoay+1sMeVU4Kx3y y5cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aLZdJvJ8; 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 e23si11772137edu.203.2021.03.01.10.42.45; Mon, 01 Mar 2021 10:42:45 -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=aLZdJvJ8; 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 S240033AbhCASlN (ORCPT + 13 others); Mon, 1 Mar 2021 13:41:13 -0500 Received: from mail.kernel.org ([198.145.29.99]:47678 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240117AbhCASgI (ORCPT ); Mon, 1 Mar 2021 13:36:08 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id B4517600CD; Mon, 1 Mar 2021 17:46:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1614620768; bh=I+PAkqyTq9C1npxHXgcmqOJHgRmRtMMbHjewur2AeWY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aLZdJvJ8juEM6YLjyCxOJH0Y/G3GbKswLKY+WYhCcKWNMDsh+uz9nbKe9HntiX7lX +ADEusZLBCU3f5N05/hUEYM4eqxRjFpUR0YjP1M64pde5dcJr0+rO1K4o9OvK5vnVB fZ6Hvo642ipNxf+XpMMzgjLi8lycGFsk+6cwkZcI= 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.11 265/775] ASoC: qcom: lpass: Fix i2s ctl register bit map Date: Mon, 1 Mar 2021 17:07:13 +0100 Message-Id: <20210301161214.724269028@linuxfoundation.org> X-Mailer: git-send-email 2.30.1 In-Reply-To: <20210301161201.679371205@linuxfoundation.org> References: <20210301161201.679371205@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 8507ef8f6679b..3efa133d1c641 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),