projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83b9ae7
)
ALSA: hda: Allow for 16 channels configuration
author
Cezary Rojewski
<cezary.rojewski@intel.com>
Fri, 4 Apr 2025 09:03:31 +0000
(11:03 +0200)
committer
Mark Brown
<broonie@kernel.org>
Mon, 7 Apr 2025 14:07:57 +0000
(15:07 +0100)
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>
sound/hda/hdac_device.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/hda/hdac_device.c
b/sound/hda/hdac_device.c
index 3fbb9793dcfcedebb8b91697a08e1c764daa4e08..0053831eed2dec951945400d072cde6105d44b29 100644
(file)
--- a/
sound/hda/hdac_device.c
+++ b/
sound/hda/hdac_device.c
@@
-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;