Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp785615rdb; Fri, 22 Dec 2023 05:12:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IG6n+pf1/VmT3m0JmC1lSYcOnE6NqP6B0xpkGaJGJ3PSYJNftkhCPQaXpQjAs6p1VBX+wF7 X-Received: by 2002:a05:6808:1155:b0:3b8:e5be:bbdb with SMTP id u21-20020a056808115500b003b8e5bebbdbmr1720831oiu.38.1703250751501; Fri, 22 Dec 2023 05:12:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703250751; cv=none; d=google.com; s=arc-20160816; b=Cm+GEpL92JFcSQ8E3q2uX0i2Fe9wf95WWllrdoxKlL85YM1AFl0hvLFuCaz9WK43Ct 7OmvmujveTESv/KGM2K48wFdvpmfXZwgbo8Ll8gA0QXpUHXufaMq2S/b0qDmzWw+wVzr OMAmrlZ9jwexW1haAhbA6yPc4ZIbOSld/l7CG2m/7dIm+NvsaBCxOS9GDTnmO1NEko+I Psiao9Qosuvni+mEcHFFSmJ/RuLXpheGcor6Ju3xNlVeMpqxTaRcdBjxryPw8xZF/xDg n4SOXdwAuShq3TCfPZqDYrhQcNkXVjVOL1rROU5MrZlvPK7HR1O670cU8EZj8GvgeMw7 j3CQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=xS/5BkwNjiV5hpdPugZJOwMiBhSFW+hk0HU2Bv6voh4=; fh=fCpQPoQypFR1o73XkqYgy//QRI7Vp33lbLDG06UsXV0=; b=SOYO8m9YQplgal6B8gYiBAV+ZwiettLvJb44j6qIeQAdYdOxstps07nB4ekRr6Wh2o f/XspdfUC8JeB4BD4YcBdIVVGs2bjxZCW/gbRpfyuvJt7Dc0SZk9K3DSqGcGtoXc/EGg Ba5QQnExI45+MyPP9hAQF+tBV+78OXPBveVTtwuhXBb/CeQ8FgS+LtP/4NG8W466PIRi Vc1jyAdrdXgoZgDhalddurWfJvwylTrRufUE0rOoQJKP1wy5erxtVVImdOSOIQJMwxXI iHnNs7ski+G5OM9rPWPszW5c88TZJ8WrULeYeXb2POvGcXhW8HkpwwtfVvs7wrOgD71Q cLYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pdxtu3RV; spf=pass (google.com: domain of linux-kernel+bounces-9742-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9742-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id u128-20020a1fc486000000b004962ad9a1c7si785323vkf.212.2023.12.22.05.12.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 05:12:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9742-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pdxtu3RV; spf=pass (google.com: domain of linux-kernel+bounces-9742-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9742-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 3664D1C21360 for ; Fri, 22 Dec 2023 13:12:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E6256199A4; Fri, 22 Dec 2023 13:12:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="pdxtu3RV" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1F2E518C20; Fri, 22 Dec 2023 13:12:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B373C433C7; Fri, 22 Dec 2023 13:12:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703250741; bh=xS/5BkwNjiV5hpdPugZJOwMiBhSFW+hk0HU2Bv6voh4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pdxtu3RVRyGkr7oHJwIx469kclPpWiKmkQsLgLwoeOgAV8kj4j1Mp3hZWfDCQIXjV Kq6u/c+mAXgNReDmX9lpy10wUcVwNGAN/sBxUG4qovAz+7fMFwYJ/N1KNZE5IsZzT1 iqmEwHbbVAaS+tU286mq4vuUf6bCJB+wj+iYCYfMWfJvbVkxJSArWwplAu4lR/oVKq gtCLgNf9Uldggif9zfA4ow/JLeD3ouBciDd8VPld3VuLcztt5NzWeH/QcEBv/U5esV x2miXDH7ckIPAs3QaNQH64AK5/HbLzLQzExPSaEzhazvgIRmDy8O7xOPi7U0W7hhO6 Uhl9ScBMFsSCA== Date: Fri, 22 Dec 2023 13:12:15 +0000 From: Mark Brown To: Gergo Koteles Cc: Shenghao Ding , Kevin Lu , Baojun Xu , Jaroslav Kysela , Takashi Iwai , Liam Girdwood , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, stable@vger.kernel.org Subject: Re: [PATCH] ALSA: hda/tas2781: do not use regcache Message-ID: <59d1b8c5-d57f-4e0c-a083-2afa1151823b@sirena.org.uk> References: <491aeed0e2eecc3b704ec856f815db21bad3ba0e.1703202126.git.soyer@irl.hu> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XgMk3W0ruc1CbKKK" Content-Disposition: inline In-Reply-To: <491aeed0e2eecc3b704ec856f815db21bad3ba0e.1703202126.git.soyer@irl.hu> X-Cookie: Familiarity breeds attempt. --XgMk3W0ruc1CbKKK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 22, 2023 at 12:48:56AM +0100, Gergo Koteles wrote: > There are two problems with using regcache in this module. >=20 > The amplifier has 3 addressing levels (BOOK, PAGE, REG). The firmware > contains blocks that must be written to BOOK 0x8C. The regcache doesn't > know anything about BOOK, so regcache_sync writes invalid values to the > actual BOOK. Acked-by: Mark Brown --XgMk3W0ruc1CbKKK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmWFiy8ACgkQJNaLcl1U h9BUmggAhajnsdiUj4Nk7Jcnz2WIP3eRE2vHqZPTJhYsfkBd7u3Yn9DMdoH0goPc UcxQT53S55+f6UNFGS6NcrDs+h3iM0i5PIfrfCSMCdIuYs+87yGJhITecY/cT828 JYN7tDEHav3SrMdpbEqtEFpSUhyaoRkxCN3l/e4RP5Szi4uYGtqcxAXP7xR5HjsJ fHwyDCYucrE5cBDKUCkhInxWVP5X2pxrTN9KbgRYuc3TTKW05q4AeRKObrHGuDlc 8kIoxdeyzC8Kp30037CJdJftbR+Zolyy4s3WGpMugFSuJvizSVqh/pIS1Y/cA5Mo IWOo4LBa+sesOuYFbs2nUbhdTB5sLw== =Z9xT -----END PGP SIGNATURE----- --XgMk3W0ruc1CbKKK--