Message ID | 20250404090337.3564117-3-cezary.rojewski@intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | e6b9c7f5a32b3bde4e24ee74c0d4f954ce086272 |
Headers | show |
Series | ASoC: Intel: avs: 16 channels support | expand |
On Fri, Apr 04, 2025 at 11:03:31AM +0200, Cezary Rojewski wrote: > As per HDAudio specification, up to 16 channels are supported. Reflect > that in the code. Takashi, is this OK to merge via ASoC?
diff --git a/sound/hda/hdac_device.c b/sound/hda/hdac_device.c index 3fbb9793dcfc..0053831eed2d 100644 --- 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;