Unverified Commit e6b9c7f5 authored by Cezary Rojewski's avatar Cezary Rojewski Committed by Mark Brown
Browse files

ALSA: hda: Allow for 16 channels configuration



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

Reviewed-by: default avatarAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: default avatarCezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20250404090337.3564117-3-cezary.rojewski@intel.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 83b9ae77
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;