ALSA: hda: Allow for 16 channels configuration

As per HDAudio specification, up to 16 channels are supported. Reflect
that in the code.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
This commit is contained in:
Cezary Rojewski 2023-08-18 09:58:46 +02:00
parent b6dbc6b5fb
commit 8bcb3713a5
1 changed files with 1 additions and 1 deletions

View File

@ -799,7 +799,7 @@ unsigned int snd_hdac_stream_format(unsigned int channels, unsigned int bits, un
if (!rate_bits[i].hz)
return 0;
if (channels == 0 || channels > 8)
if (channels == 0 || channels > 16)
return 0;
val |= channels - 1;