diff options
author | Stephen Warren <swarren@nvidia.com> | 2011-05-25 14:42:13 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-05-26 02:17:59 -0400 |
commit | 739266566ae9ba6b01ed3a01165171705fa2974e (patch) | |
tree | 577503686c2891b625ce961921942c5642a7b2c8 /sound | |
parent | af4ccf4f86c0008bdbe2532c110d45919983b468 (diff) |
ALSA: HDA: Increase MAX_HDMI_PINS
The recently introduced NVIDIA GeForce GT 520 has 4 pins within a single
codec. Bump MAX_HDMI_PINS to accomodate this. Also bump MAX_HDMI_CVTS
to match it; this might be needed later too.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_hdmi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index d786ecc56801..bd0ae697f9c4 100644 --- a/sound/pci/hda/patch_hdmi.c +++ b/sound/pci/hda/patch_hdmi.c | |||
@@ -48,8 +48,8 @@ MODULE_PARM_DESC(static_hdmi_pcm, "Don't restrict PCM parameters per ELD info"); | |||
48 | * | 48 | * |
49 | * The HDA correspondence of pipes/ports are converter/pin nodes. | 49 | * The HDA correspondence of pipes/ports are converter/pin nodes. |
50 | */ | 50 | */ |
51 | #define MAX_HDMI_CVTS 3 | 51 | #define MAX_HDMI_CVTS 4 |
52 | #define MAX_HDMI_PINS 3 | 52 | #define MAX_HDMI_PINS 4 |
53 | 53 | ||
54 | struct hdmi_spec { | 54 | struct hdmi_spec { |
55 | int num_cvts; | 55 | int num_cvts; |
@@ -1027,6 +1027,7 @@ static char *generic_hdmi_pcm_names[MAX_HDMI_CVTS] = { | |||
1027 | "HDMI 0", | 1027 | "HDMI 0", |
1028 | "HDMI 1", | 1028 | "HDMI 1", |
1029 | "HDMI 2", | 1029 | "HDMI 2", |
1030 | "HDMI 3", | ||
1030 | }; | 1031 | }; |
1031 | 1032 | ||
1032 | /* | 1033 | /* |