]> www.infradead.org Git - users/dwmw2/linux.git/commit
ASoC: SOF: ipc4: Handle ALSA kcontrol change notification from firmware
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 24 Nov 2023 15:08:53 +0000 (17:08 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 24 Nov 2023 15:38:01 +0000 (15:38 +0000)
commit0ff23d460718641c80c8054425256391dca1ac7d
treefacc4390c3cf3371797addf764fc3e9d17cf4cc5
parentf5eb9945cf9c17eb016aa64c7de13875f259ea07
ASoC: SOF: ipc4: Handle ALSA kcontrol change notification from firmware

The control change notification is sent as module notification with a
standardized event_id (higher 16 bit is 0xA15A).
Add generic code to handle the module notification and invoke the control
update callback if the notification is an ALSA kcontrol change message.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20231124150853.18648-5-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc4.c