]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: SOF: control: skip rpm calls in ext_volatile_get if not implemented
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Mon, 15 Dec 2025 13:29:40 +0000 (15:29 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 15 Dec 2025 14:07:41 +0000 (23:07 +0900)
commit2c77ff200f59103ecdee60c00818a43cee38a6b8
tree5118d84f1885985564288249a5ab2c25fa3ac102
parentb8e54b447cdec234f0e0d80487af9540063d17dd
ASoC: SOF: control: skip rpm calls in ext_volatile_get if not implemented

Test earlier for the existence of ext_volatile_get callback and if it is
missing, skip the rpm calls to avoid needles DSP power on.

No change in functionality, we just skip the DSP power on in the unlikely
case when the ext_volatile _get is not supported and yet the topology adds
such control.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Link: https://patch.msgid.link/20251215132946.2155-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/control.c