projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5d6def
)
ALSA: hda - allow up to 4 HDMI devices
author
Wu Fengguang
<fengguang.wu@intel.com>
Fri, 30 Oct 2009 10:40:03 +0000
(11:40 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 30 Oct 2009 10:40:03 +0000
(11:40 +0100)
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>
sound/pci/hda/hda_codec.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/hda_codec.c
b/sound/pci/hda/hda_codec.c
index 49289cd50697b724f5b48587e73042d32bd64658..2c13663433355d40e102e68ee0d80c0c0cdb6bb6 100644
(file)
--- a/
sound/pci/hda/hda_codec.c
+++ b/
sound/pci/hda/hda_codec.c
@@
-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;