From: Takashi Iwai Date: Fri, 17 Jun 2011 13:46:13 +0000 (+0200) Subject: ALSA: hda - Defer mixer element creation to the right time in patch_via.c X-Git-Tag: v3.1-rc1~271^2^2~69^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e06e5a297474c8027beffe10541981845ca0c98b;p=pandora-kernel.git ALSA: hda - Defer mixer element creation to the right time in patch_via.c The jack-detect control should be created at the time of build_controls callback instead of calling snd_hda_add_ctls() at the tree-parsing time. For that, copy the control to the temporary array like other cases. Also, fixed typos of vt1708_jack_detect in all places. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed