Cezary Rojewski 4a6ba09e89 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>
2023-11-27 17:27:20 +01:00
..
2023-05-23 12:11:21 +02:00
2023-08-17 09:24:01 +02:00
2023-08-17 09:24:08 +02:00
2023-05-23 12:11:33 +02:00
2023-05-23 12:11:21 +02:00
2017-11-13 15:45:57 +01:00
2020-11-30 12:54:02 +00:00
2023-09-19 13:49:13 +01:00
2020-09-09 18:32:52 +02:00
2019-10-25 11:06:57 +01:00