Change subject: UPSTREAM: ALSA: Introduce common helper functions for jack-detection control
......................................................................
UPSTREAM: ALSA: Introduce common helper functions for jack-detection control
Now move the helper function for creating and reporting the jack-detection
to the common place. The driver that needs this functionality should
select CONFIG_SND_KCTL_JACK kconfig.
BUG=chromium-os:20620
TEST=Manual, run kernel on stumpy and check for JACK controls.
Signed-off-by: Takashi Iwai <ti...@suse.de>
(cherry picked from commit 35be544af367170a9c6bf63adcf9d0cb2d569dbb)
Signed-off-by: Dylan Reid <dgr...@chromium.org>
Change-Id: If33dc63b6ec9755bb9bd76a43b72cfbe15346af2
---
M include/sound/control.h
M sound/core/Kconfig
M sound/core/Makefile
A sound/core/ctljack.c
M sound/pci/hda/Kconfig
M sound/pci/hda/hda_jack.c
M sound/pci/hda/hda_jack.h
7 files changed, 76 insertions(+), 49 deletions(-)
git pull ssh://gerrit.chromium.org:29418/chromiumos/third_party/kernel refs/changes/18/20718/1
--
To view, visit https://gerrit.chromium.org/gerrit/20718
To unsubscribe, visit https://gerrit.chromium.org/gerrit/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If33dc63b6ec9755bb9bd76a43b72cfbe15346af2
Gerrit-PatchSet: 1
Gerrit-Project: chromiumos/third_party/kernel
Gerrit-Branch: chromeos-3.2
Gerrit-Owner: Dylan Reid <dgr...@chromium.org>