aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-01-09 10:57:14 -0500
committerTakashi Iwai <tiwai@suse.de>2009-01-14 01:48:50 -0500
commit2acc9dcb609427a20463e529ef552dd93b469847 (patch)
treef8298a0ef02d576b9dc2e91104db2e0d11df3c0c /sound
parent417bec5b0f25e000866f1be845d44a3ca0690697 (diff)
ALSA: hda - Fix silent headphone output on Panasonic CF-74
CF-74 does the headphone/speaker switching on hardware, thus the driver shouldn't do any software-toggling of pins. Otherwise it results in a silent headphone output. This patch simply resets the hp_detect flag to fix the problem. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_sigmatel.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 0e6fc56fa378..89ff916a0ed1 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -4467,6 +4467,12 @@ static int patch_stac9200(struct hda_codec *codec)
4467 return err; 4467 return err;
4468 } 4468 }
4469 4469
4470 /* CF-74 has no headphone detection, and the driver should *NOT*
4471 * do detection and HP/speaker toggle because the hardware does it.
4472 */
4473 if (spec->board_config == STAC_9200_PANASONIC)
4474 spec->hp_detect = 0;
4475
4470 codec->patch_ops = stac92xx_patch_ops; 4476 codec->patch_ops = stac92xx_patch_ops;
4471 4477
4472 return 0; 4478 return 0;