diff options
author | David Henningsson <david.henningsson@canonical.com> | 2012-01-31 09:04:15 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-01-31 15:11:21 +0100 |
commit | 05c3b36e539627b7aed67d038381d0d9fa9d61e7 (patch) | |
tree | 0f560ccfdd54cef88226768a61ca554d0373aaff /sound/soc/soc-dapm.c | |
parent | 31150f2327cbb66363f38e13ca1be973d2f9203a (diff) | |
download | op-kernel-dev-05c3b36e539627b7aed67d038381d0d9fa9d61e7.zip op-kernel-dev-05c3b36e539627b7aed67d038381d0d9fa9d61e7.tar.gz |
ALSA: HDA: Fix jack creation for codecs with front and rear Line In
If a codec has both a front and a rear Line In, two controls both
named "Line Jack" will be created, which causes parsing to fail.
While a long term solution might be to name the jacks differently,
this extra check is consistent with what is already being done in many
auto-parsers, and will also protect against other cases when two
inputs have the same label.
BugLink: https://bugs.launchpad.net/bugs/923409
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/soc-dapm.c')
0 files changed, 0 insertions, 0 deletions