ALSA: hda - fix array indexing while creating inputs for Cirrus codecs
authorBrian J. Tarricone <brian@tarricone.org>
Mon, 3 May 2010 00:32:10 +0000 (17:32 -0700)
committerTakashi Iwai <tiwai@suse.de>
Wed, 5 May 2010 07:45:33 +0000 (09:45 +0200)
commit8dd34ab111dc6ccb35a1a7a59222cb9bb0160e6f
treeca7148f73f3fed01de571a2d3d7b7f2061e09a9c
parent5c1bccf645d4ab65e4c7502acb42e8b9afdb5bdc
ALSA: hda - fix array indexing while creating inputs for Cirrus codecs

This fixes a problem where cards show up as only having a single mixer
element, suppressing all sound output.

Signed-off-by: Brian J. Tarricone <brian@tarricone.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_cirrus.c