From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 22B1AC433EF for ; Tue, 14 Jun 2022 02:25:59 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 5B01D1853; Tue, 14 Jun 2022 04:25:07 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 5B01D1853 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1655173557; bh=E7cEh5bK6lTWhyfkc4/D18C7BicyDM/aUr421bJZuwI=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=TA9WxUBcDD+VtvDZaTNr810MHsagGHIvWGB0N70sruXcE4CJYH11LjrLSVBnDE8V6 r/UJrIIkz26NSsWLULs8wvUD9wNFgABTe7fJa+8+Zkb6hKX8w411TXD3WxLjzFJJM4 Ru0whmUeZfKLMn1FqJhYOZdKdgWWsKVc6XuKiBLk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id E36CFF80736; Tue, 14 Jun 2022 04:11:00 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3C96DF8072A; Tue, 14 Jun 2022 04:10:57 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 0AADEF80720 for ; Tue, 14 Jun 2022 04:10:51 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 0AADEF80720 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Y/z0uwkk" Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A3650B816AA; Tue, 14 Jun 2022 02:10:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AACCAC341C4; Tue, 14 Jun 2022 02:10:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655172648; bh=E7cEh5bK6lTWhyfkc4/D18C7BicyDM/aUr421bJZuwI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y/z0uwkkir+rUxkHxSRHLIC7FAfEXv+OyB2WtWBhXqkrITJAOk5uycVDD4PulYdnI MBXN14AhAJ4XK4XiYnYtlVcELSZKgJ7H58mF6/zE5U+gQW53MiOUDz8BeY3CreuOhQ vwlO4nMO8Um8n4vkTlEBmJu0yTLcM4rI98lGssdIyZLz25FXCddPm8LHkydFeXZ/e9 qBgq1ohOyG9y+d+n1jYqs/vqpqa1xlCMxVeiFC2my9FhFU/tICwZVfHqUY20GhuZjQ TTLS/yUvwayh4Czuj+z2mij4drrpXs2QgG1xoLTEgCVxh4dnnaYEqLw4jdcX0ONVVb PgVtAwq/baweg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH AUTOSEL 4.9 04/12] ASoC: cs42l56: Correct typo in minimum level for SX volume controls Date: Mon, 13 Jun 2022 22:10:32 -0400 Message-Id: <20220614021040.1101131-4-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220614021040.1101131-1-sashal@kernel.org> References: <20220614021040.1101131-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Cc: Sasha Levin , brian.austin@cirrus.com, Charles Keepax , alsa-devel@alsa-project.org, tiwai@suse.com, lgirdwood@gmail.com, Paul.Handrigan@cirrus.com, Mark Brown X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: Charles Keepax [ Upstream commit a8928ada9b96944cadd8b65d191e33199fd38782 ] A couple of the SX volume controls specify 0x84 as the lowest volume value, however the correct value from the datasheet is 0x44. The datasheet don't include spaces in the value it displays as binary so this was almost certainly just a typo reading 1000100. Signed-off-by: Charles Keepax Link: https://lore.kernel.org/r/20220602162119.3393857-6-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/codecs/cs42l56.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/cs42l56.c b/sound/soc/codecs/cs42l56.c index a2535a7eb4bb..f9f8a9112ff8 100644 --- a/sound/soc/codecs/cs42l56.c +++ b/sound/soc/codecs/cs42l56.c @@ -405,9 +405,9 @@ static const struct snd_kcontrol_new cs42l56_snd_controls[] = { SOC_DOUBLE("ADC Boost Switch", CS42L56_GAIN_BIAS_CTL, 3, 2, 1, 1), SOC_DOUBLE_R_SX_TLV("Headphone Volume", CS42L56_HPA_VOLUME, - CS42L56_HPB_VOLUME, 0, 0x84, 0x48, hl_tlv), + CS42L56_HPB_VOLUME, 0, 0x44, 0x48, hl_tlv), SOC_DOUBLE_R_SX_TLV("LineOut Volume", CS42L56_LOA_VOLUME, - CS42L56_LOB_VOLUME, 0, 0x84, 0x48, hl_tlv), + CS42L56_LOB_VOLUME, 0, 0x44, 0x48, hl_tlv), SOC_SINGLE_TLV("Bass Shelving Volume", CS42L56_TONE_CTL, 0, 0x00, 1, tone_tlv), -- 2.35.1