diff options
author | Herton Ronaldo Krzesinski | 2012-09-21 20:45:19 -0300 |
---|---|---|
committer | Takashi Iwai | 2012-09-22 09:24:54 +0200 |
commit | cf55e904516947597d75fd3844acc24891a95772 (patch) | |
tree | 52c61d64149ce7bab1a9781e4a8c77d88bad565a /drivers/mfd/twl6040-core.c | |
parent | 148728f1f7ee7c878a7f57ca6132891552967689 (diff) |
ALSA: hda/via - don't report presence on HPs with no presence support
If headphone jack can't detect plug presence, and we have the jack in
the jack table, snd_hda_jack_detect will return the plug as always
present (as it'll be considered as a phantom jack). The problem is that
when this happens, line out pins will always be disabled, resulting in
no sound if there are no headphones connected.
This was reported as a no sound problem after suspend on
http://bugs.launchpad.net/bugs/1052499, since the bug doesn't manifests
on first initialization before the phantom jack is added, but on resume
we reexecute the initialization code, and via_hp_automute starts
reporting HP always present with the jack now on the table.
BugLink: https://bugs.launchpad.net/bugs/1052499
Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
Cc: <stable@vger.kernel.org> [v3.6+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/mfd/twl6040-core.c')
0 files changed, 0 insertions, 0 deletions