Skip to content

Commit

Permalink
ALSA: hda - Fix silent headphone output on Panasonic CF-74
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
tiwai committed Jan 14, 2009
1 parent 417bec5 commit 2acc9dc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -4467,6 +4467,12 @@ static int patch_stac9200(struct hda_codec *codec)
return err;
}

/* CF-74 has no headphone detection, and the driver should *NOT*
* do detection and HP/speaker toggle because the hardware does it.
*/
if (spec->board_config == STAC_9200_PANASONIC)
spec->hp_detect = 0;

codec->patch_ops = stac92xx_patch_ops;

return 0;
Expand Down

0 comments on commit 2acc9dc

Please sign in to comment.