mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 07:34:12 +08:00
ALSA: hda - allow up to 4 HDMI devices
The new Intel HDMI codec supports 2 independant HDMI/DisplayPort pipes. We'll be exporting them as 2 pcm devices. So bump up the allowed number of HDMI devices. Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
f5d6def5c6
commit
92608badc5
@ -2889,7 +2889,7 @@ static int get_empty_pcm_device(struct hda_bus *bus, int type)
|
||||
static int audio_idx[HDA_PCM_NTYPES][5] = {
|
||||
[HDA_PCM_TYPE_AUDIO] = { 0, 2, 4, 5, -1 },
|
||||
[HDA_PCM_TYPE_SPDIF] = { 1, -1 },
|
||||
[HDA_PCM_TYPE_HDMI] = { 3, -1 },
|
||||
[HDA_PCM_TYPE_HDMI] = { 3, 7, 8, 9, -1 },
|
||||
[HDA_PCM_TYPE_MODEM] = { 6, -1 },
|
||||
};
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user