diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2023-11-17 13:05:57 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-11-27 17:27:20 +0100 |
commit | 4a6ba09e892aab49fda8464e4f9b244a17fd75b2 (patch) | |
tree | 3d28ea8f3673964a95756ec7d0851b1335803b51 /sound/hda/hdac_device.c | |
parent | ALSA: hda: Honor subformat when querying PCMs (diff) | |
download | linux-4a6ba09e892aab49fda8464e4f9b244a17fd75b2.tar.xz linux-4a6ba09e892aab49fda8464e4f9b244a17fd75b2.zip |
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>
Diffstat (limited to 'sound/hda/hdac_device.c')
0 files changed, 0 insertions, 0 deletions