From: Mark Brown Date: Fri, 21 Nov 2025 21:28:19 +0000 (+0000) Subject: ASoC: cs35l56: Set access permissions on volatile X-Git-Tag: v6.19-rc1~156^2~3^2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=172e22180212092b2aecac172ede3d07c013e22f;p=thirdparty%2Fkernel%2Flinux.git ASoC: cs35l56: Set access permissions on volatile Merge series from Richard Fitzgerald : The CAL_SET_STATUS and CAL_DATA_RB controls are volatile and read-only, but the existing ASoC macros to define controls don't allow setting access permissions, so those controls were marked as non-volatile read/write. These four patches fix that. The first two patches add two new control macros to soc.h. I really don't like codec drivers open-coding a kcontrol_new content for a control that will be managed by the ASoC info/get/put handlers. If a new type of ASoC control definition is needed it's better to have it in soc.h so all the dependencies between ASoC and the kcontrol_new content are in one place. --- 172e22180212092b2aecac172ede3d07c013e22f