Re: [PATCH] ASoC: tas2783-sdw: do not treat read-only Controls as writable

Mark Brown <[email protected]>
Newsgroups org.kernel.vger.linux-sound,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Thu, Aug 13, 2026 at 08:35:00PM +0300, Andrey Golovko wrote:
> The regmap has no writeable_reg callback, so regmap considers every
> register up to max_register writable.  That includes the read-only SDCA
> Controls the driver itself describes: the Latency of every Entity, the

> +	case SDW_SDCA_CTL(FUNC_NUM_SMART_AMP, TAS2783_SDCA_ENT_XU22, 0x14, 0):

0x14 is SDCA_CTL_XU_FDL_STATUS and AFAICT sdca_fdl_process() might write
to it.  Not sure if that's reachable with this device or not...
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmp+IKUACgkQJNaLcl1U
h9Bygwf/e0Y/bEIj4dvcYvycCKJr5MbKQgCivxg9fRjswFXpS/R9UZ8oo5EaU1r9
l95MAkWKTXlQkFr/YJ45SkeJtzdASlYqdXu/QBDw99YIxgAGicjQxxjJUiagR6Z9
unDQPSJQA7MY+siA8ARsxy5s5B3/H5bI1qdN64x1EBvZiEIUeLqkZwhazbLrCMmH
AQR9uThtGSGQJVFDr9zMQZb/GXP9XU1qdshMDUvbgXoqAq7UOssIzyV1J/QdXSdz
DEchgUtVf8h/++ak3/CGoFz98uwh+c88tE8RqLTNBML/e/vtMsgUHDD8/Uus3YUY
R5GOASZHBhrGiE9aYyfJBT3fG2aTRw==
=yHSw
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.