]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: Intel: catpt: Migrate to the new control operations
authorCezary Rojewski <cezary.rojewski@intel.com>
Mon, 9 Mar 2026 09:16:05 +0000 (10:16 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 11 Mar 2026 13:34:13 +0000 (13:34 +0000)
commit8a99ccb032d670eae2b1ea89174e06a60d2d3fc2
treef67e511f16a942c05703da89ba0872750b442ee1
parent150badf73e9a10cf646d07353b41117ea90f67ae
ASoC: Intel: catpt: Migrate to the new control operations

Switch to the new implementation and remove all unused code. The change
effectively causes the control put() operations to return '1' if a
change occurred, '0' if no change was made or error otherwise.

The second effect of the update is reducing the power consumption. With
the new control-operations in place, the controls no longer wake the DSP
just for the sake of updating volume (or mute) settings on the firmware
side. The values are cached and actual update occurs only when streams
are being opened for streaming or are already running.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20260309091605.896307-6-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/catpt/pcm.c