ASoC: pcm: Honor subformat when configuring runtime
Subformat options are ignored when setting up hardware parameters and assigning PCM stream capabilities. Account for them to allow for granular format selection. As there is only one user currently (format S32_LE), subformat is represented by a simple u32 and stores flags only for that one user alone. Such approach allows for alloc/free-less code until there are more users on the horizon. Acked-by:Mark Brown <broonie@kernel.org> Signed-off-by:
Cezary Rojewski <cezary.rojewski@intel.com> Acked-by:
Jaroslav Kysela <perex@perex.cz> Link: https://lore.kernel.org/r/20231117120610.1755254-4-cezary.rojewski@intel.com Signed-off-by:
Takashi Iwai <tiwai@suse.de>
Loading
Please sign in to comment