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:
parent
b6dbc6b5fb
commit
8bcb3713a5
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue