]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: hda: intel-nhlt: Ignore vbps when looking for DMIC 32 bps format
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Mon, 27 Nov 2023 11:16:58 +0000 (13:16 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 27 Nov 2023 16:20:58 +0000 (17:20 +0100)
commit7b4c93a50a2ebbbaf656cc4fa6aca74a6166d85b
tree95bf9b47378c1b41b463cc4f8adb9555edc1303f
parent732c678eb021dbc514a699be1815e194692fdd5c
ALSA: hda: intel-nhlt: Ignore vbps when looking for DMIC 32 bps format

When looking up DMIC blob from the NHLT table and the format is 32 bits,
ignore the vbps matching for 32 bps for DMIC since some NHLT table have
the vbps as 24, some have it as 32.
The DMIC hardware supports only one type of 32 bit sample size, which is
24 bit sampling on the MSB side and bits[1:0] is used for indicating the
channel number.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20231127111658.17275-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/intel-nhlt.c