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

From: Mark Brown

Date: Thu Aug 13 2026 - 15:53:24 EST


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...

Attachment: signature.asc
Description: PGP signature