diff options
| author | Takashi Iwai <[email protected]> | 2014-09-11 10:59:21 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2014-09-11 11:05:32 +0000 |
| commit | 7a9744cb455e6faa287e148394b4b422a6f3c5c4 (patch) | |
| tree | 175b76e9545df50e35d71efa25ad63ffed69c5bf /tools/perf/scripts/python/check-perf-trace.py | |
| parent | Merge tag 'asoc-v3.17-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/b... (diff) | |
| download | kernel-7a9744cb455e6faa287e148394b4b422a6f3c5c4.tar.gz kernel-7a9744cb455e6faa287e148394b4b422a6f3c5c4.zip | |
ALSA: hda - Fix invalid pin powermap without jack detection
When a driver is set up without the jack detection explicitly (either
by passing a model option or via a specific fixup), the pin powermap
of IDT/STAC codecs is set up wrongly, resulting in the silence
output. It's because of a logic failure in stac_init_power_map().
It tries to avoid creating a callback for the pins that have other
auto-hp and auto-mic callbacks, but the check is done in a wrong way
at a wrong time. The stac_init_power_map() should be called after
creating other jack detection ctls, and the jack callback should be
created only for jack-detectable widgets.
This patch fixes the check in stac_init_power_map() and its callee
at the right place, after snd_hda_gen_build_controls().
Reported-by: Adam Richter <[email protected]>
Cc: <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
