Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp725370pxb; Tue, 2 Feb 2021 16:48:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJxdQHjoMTNVd/KR6F4fhjbdHHXmiXF+SKTaLlWV3h03PJkOa8eIuMWy6Kn6u/yOiHl2GG3O X-Received: by 2002:a17:906:5495:: with SMTP id r21mr611114ejo.59.1612313313796; Tue, 02 Feb 2021 16:48:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612313313; cv=none; d=google.com; s=arc-20160816; b=lgSIJMs5xAianieGqwkNqZ905eS+aO7a9FgkSW17XJ2OASeJv9I3qxfJYtogwyVvIw 2jWrOzR+6B8cKXhlJN2l6l8oe81rWnlU3AcvJSIF/X/090CCuKs3dF7g1MOknDUDYqnP +gxV3RYqR/+8B5J2H1oJrLDBqj2r501msFNSn6g9DzwxMRx1O8u86kBT7HgJ9gdHnlks euS47JNnqZMPkS3iVQswOEl+KwZ0BFvBsqfiVUkOeqNtolZPv2X41KL63QVP6gBO+6Tj Zii6qT1paBdX8BMhAJ1nefEsUD10Uk19xjiCWpWXI/43VbWIK0BsjYtxUxNDYn0QUOep qJHw== 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=CUCbTqSuD0sBlntE5mQgokD5mD8CPKZKRL9wLa6j5Jw=; b=cubItYTl6ioiSiwoY2DSBqfOpJHbyhznUwdqrWLmD7bNAjRrHbdVXKJFSgv2ceS1dM fb1xmFG9c9zAEE7KvoyyqEWbWRDhG0bqxcllkE3Fe8yqcnfW0dT3yqtUKcoIQ34blCOe fPIbeitwSUVqHEyLp1O9YCIsw0XiUz1gWNkmH0O8eGwKgr21Cda+hk8+GXYU5nFC4zuS /iWJOV658p/2EdFIYkXDotcXjPAJO1KW2qMc9q+az3TcKQ09wQP8d90uH1+qUi1mIDsf XhZN/8LqDzELGH2PCIVY8KVZFRGfP9nFx2ix/Zo0FivWBYO8exq098AVgXFPA3yvXmE5 23Fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MSR9DyaS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 v18si280379ejj.105.2021.02.02.16.48.08; Tue, 02 Feb 2021 16:48:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=MSR9DyaS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S240208AbhBBTzD (ORCPT + 99 others); Tue, 2 Feb 2021 14:55:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:40700 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233101AbhBBNvc (ORCPT ); Tue, 2 Feb 2021 08:51:32 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id C2A2864FAD; Tue, 2 Feb 2021 13:43:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612273397; bh=EwSJI7guOYK9sFz6egHIaX64JJWlFE5JLKQozCq4avo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MSR9DyaSN7StFJIPedd36ePDslG6DFVSZmnIDx2h0tWdkzUlNGQYsXzNLoLPQCnGI u07aYj1KfvB6JmcHNkCYDQt9jSM1LMA9UE31rNpNPM9wmr2S9LR8kvusyZRwKCW5MJ viCcZ2Jc1YakdJ/UpnUd6BCR3kEi51r5rqshl+As= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Srinivas Kandagatla , Mark Brown , Sasha Levin Subject: [PATCH 5.10 092/142] ASoC: qcom: lpass-ipq806x: fix bitwidth regmap field Date: Tue, 2 Feb 2021 14:37:35 +0100 Message-Id: <20210202133001.507959801@linuxfoundation.org> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210202132957.692094111@linuxfoundation.org> References: <20210202132957.692094111@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Srinivas Kandagatla [ Upstream commit 1e066a23e76f90c9c39c189fe0dbf7c6e3dd5044 ] BIT_WIDTH field in I2S_CTL register is two bits wide, however recent regmap field conversion patch trimmed it down to one bit. Fix this by correcting the bit range! Fixes: b5022a36d28f ("ASoC: qcom: lpass: Use regmap_field for i2sctl and dmactl registers") Signed-off-by: Srinivas Kandagatla Link: https://lore.kernel.org/r/20210119174700.32639-1-srinivas.kandagatla@linaro.org Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/qcom/lpass-ipq806x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/qcom/lpass-ipq806x.c b/sound/soc/qcom/lpass-ipq806x.c index 832a9161484e7..3a45e6a26f04b 100644 --- a/sound/soc/qcom/lpass-ipq806x.c +++ b/sound/soc/qcom/lpass-ipq806x.c @@ -131,7 +131,7 @@ static struct lpass_variant ipq806x_data = { .micmode = REG_FIELD_ID(0x0010, 4, 7, 5, 0x4), .micmono = REG_FIELD_ID(0x0010, 3, 3, 5, 0x4), .wssrc = REG_FIELD_ID(0x0010, 2, 2, 5, 0x4), - .bitwidth = REG_FIELD_ID(0x0010, 0, 0, 5, 0x4), + .bitwidth = REG_FIELD_ID(0x0010, 0, 1, 5, 0x4), .rdma_dyncclk = REG_FIELD_ID(0x6000, 12, 12, 4, 0x1000), .rdma_bursten = REG_FIELD_ID(0x6000, 11, 11, 4, 0x1000), -- 2.27.0