+50
−2
Loading
There are very few volatile controls in SDCA that are exported as ALSA controls, typically Detected Mode is the only common one. However, the current code does not resume the device when these ALSA controls are accessed, which will result in the read/write failing. Add a new wrapper specifically for volatile controls that will do the required pm_runtime operations before accessing the register. Fixes: c3ca24e3 ("ASoC: SDCA: Create ALSA controls from DisCo") Signed-off-by:Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://patch.msgid.link/20260204125944.1134011-3-ckeepax@opensource.cirrus.com Reviewed-by:
Pierre-Louis Bossart <pierre-louis.bossart@linux.dev> Signed-off-by:
Mark Brown <broonie@kernel.org>