]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Defer mixer element creation to the right time in patch_via.c
authorTakashi Iwai <tiwai@suse.de>
Fri, 17 Jun 2011 13:46:13 +0000 (15:46 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 20 Jun 2011 14:23:56 +0000 (16:23 +0200)
commit61a7f3d99fdb28e433025401176bd1cb8b67d0f9
treeffbaad84cc2e0698e5a4c6731792c42e986dee0e
parente7fe248148dd12bb9f762ee92e517df3a9988070
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 <tiwai@suse.de>
sound/pci/hda/patch_via.c