From: Takashi Iwai Date: Thu, 27 Oct 2011 22:03:22 +0000 (+0200) Subject: ALSA: hda - Create jack-detection kcontrols X-Git-Tag: v3.3-rc1~88^2^2~13^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01a61e12b4602c82bde9797d0e153f3e53c95b04;p=pandora-kernel.git ALSA: hda - Create jack-detection kcontrols Create kcontrols for pin jack-detections, which work similarly like jack-input layer. Each control will notify when the jack is plugged or unplugged, and also user can read the value at any time via the normal control API. The control elements are created with iface=CARD, so that they won't appear in the mixer apps. So far, only the pins that enabled the jack-detection are registered. For covering all pins, the transition of the common unsol-tag handling would be needed. Stay tuned. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed