mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
ALSA: hda: Allow for 16 channels configuration
As per HDAudio specification, up to 16 channels are supported. Reflect that in the code. Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Link: https://patch.msgid.link/20250404090337.3564117-3-cezary.rojewski@intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
83b9ae77f0
commit
e6b9c7f5a3
|
|
@ -801,7 +801,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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user