diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-01-23 18:23:36 +0100 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-02-09 18:19:55 -0800 |
commit | aabe1fc475ab7121bd0d9503a6cd65bad01ebda6 (patch) | |
tree | e8cf241330b7d4c63608566012068a5582823e52 /fs/ecryptfs/miscdev.c | |
parent | a1dbd7aee49af8805bd5325f6977f57df3106501 (diff) |
ALSA: hda - Fix silent outputs from docking-station jacks of Dell laptops
commit b4ead019afc201f71c39cd0dfcaafed4a97b3dd2 upstream.
The recent change of the power-widget handling for IDT codecs caused
the silent output from the docking-station line-out jack. This was
partially fixed by the commit f2cbba7602383cd9cdd21f0a5d0b8bd1aad47b33
"ALSA: hda - Fix the lost power-setup of seconary pins after PM resume".
But the line-out on the docking-station is still silent when booted
with the jack plugged even by this fix.
The remainig bug is that the power-widget is set off in stac92xx_init()
because the pins in cfg->line_out_pins[] aren't checked there properly
but only hp_pins[] are checked in is_nid_hp_pin().
This patch fixes the problem by checking both HP and line-out pins
and leaving the power-map correctly.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=42637
Change-Id: Ic0147c9a2f9067c6ec2277dbaebd714fdbd9daaa
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/79647
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'fs/ecryptfs/miscdev.c')
0 files changed, 0 insertions, 0 deletions