lkml.org 
[lkml]   [2012]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 066/270] ALSA: hda - do not detect jack on internal speakers for Realtek
    Date
    3.5.7u1 -stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: David Henningsson <david.henningsson@canonical.com>

    commit f7f4b2322bf7b8c5929b7eb5a667091f32592580 upstream.

    This caused the internal speaker to mute itself because it was
    present, which happened after powersave.
    It was found on Dell XPS 15 (L502x), ALC665.

    Reported-by: Da Fox <da.fox.mail@gmail.com>
    Signed-off-by: David Henningsson <david.henningsson@canonical.com>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Signed-off-by: Herton Ronaldo Krzesinski <herton.krzesinski@canonical.com>
    ---
    sound/pci/hda/patch_realtek.c | 2 ++
    1 file changed, 2 insertions(+)

    diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
    index 95b9090..f6784d7 100644
    --- a/sound/pci/hda/patch_realtek.c
    +++ b/sound/pci/hda/patch_realtek.c
    @@ -588,6 +588,8 @@ static void alc_line_automute(struct hda_codec *codec)
    {
    struct alc_spec *spec = codec->spec;

    + if (spec->autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT)
    + return;
    /* check LO jack only when it's different from HP */
    if (spec->autocfg.line_out_pins[0] == spec->autocfg.hp_pins[0])
    return;
    --
    1.7.9.5


    \
     
     \ /
      Last update: 2012-11-26 19:01    [W:4.044 / U:1.688 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site