]> git.openfabrics.org - ~shefty/rdma-dev.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)
commite06e5a297474c8027beffe10541981845ca0c98b
treeffbaad84cc2e0698e5a4c6731792c42e986dee0e
parenta766d0d763bf9d64ff622db2c9c620d45a4ead96
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