ALSA: hda - Allow unlimited pins and converters in patch_hdmi.c
authorTakashi Iwai <tiwai@suse.de>
Wed, 13 Mar 2013 13:40:31 +0000 (14:40 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 13 Mar 2013 17:07:04 +0000 (18:07 +0100)
commitbce0d2a80e428aac3b39bf19675f1f57126f9cb6
tree9f652749f3f6843c94b47973e7e910cfa900ff1f
parent5265fd9a9f512e0822955b0614bc4a5458defff9
ALSA: hda - Allow unlimited pins and converters in patch_hdmi.c

Use the dynamic array allocations for pins, converters and PCM arrays
instead of the fixed size arrays.  The modern HDMI codecs get more and
more pins, and we don't know the sensitive limit.

Most of the patch are spent for the straight conversions from the
fixed array access to snd_array helpers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c