lkml.org 
[lkml]   [2022]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.4 021/389] ALSA: hda/realtek: Add quirk for another Asus K42JZ model
    Date
    From: Meng Tang <tangmeng@uniontech.com>

    commit f882c4bef9cb914d9f7be171afb10ed26536bfa7 upstream.

    There is another Asus K42JZ model with the PCI SSID 1043:1313
    that requires the quirk ALC269VB_FIXUP_ASUS_MIC_NO_PRESENCE.
    Add the corresponding entry to the quirk table.

    Signed-off-by: Meng Tang <tangmeng@uniontech.com>
    Cc: <stable@vger.kernel.org>
    Link: https://lore.kernel.org/r/20220805074534.20003-1-tangmeng@uniontech.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    sound/pci/hda/patch_realtek.c | 11 +++++++++++
    1 file changed, 11 insertions(+)

    --- a/sound/pci/hda/patch_realtek.c
    +++ b/sound/pci/hda/patch_realtek.c
    @@ -6370,6 +6370,7 @@ enum {
    ALC269_FIXUP_LIMIT_INT_MIC_BOOST,
    ALC269VB_FIXUP_ASUS_ZENBOOK,
    ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A,
    + ALC269VB_FIXUP_ASUS_MIC_NO_PRESENCE,
    ALC269_FIXUP_LIMIT_INT_MIC_BOOST_MUTE_LED,
    ALC269VB_FIXUP_ORDISSIMO_EVE2,
    ALC283_FIXUP_CHROME_BOOK,
    @@ -6901,6 +6902,15 @@ static const struct hda_fixup alc269_fix
    .chained = true,
    .chain_id = ALC269VB_FIXUP_ASUS_ZENBOOK,
    },
    + [ALC269VB_FIXUP_ASUS_MIC_NO_PRESENCE] = {
    + .type = HDA_FIXUP_PINS,
    + .v.pins = (const struct hda_pintbl[]) {
    + { 0x18, 0x01a110f0 }, /* use as headset mic */
    + { }
    + },
    + .chained = true,
    + .chain_id = ALC269_FIXUP_HEADSET_MIC
    + },
    [ALC269_FIXUP_LIMIT_INT_MIC_BOOST_MUTE_LED] = {
    .type = HDA_FIXUP_FUNC,
    .v.func = alc269_fixup_limit_int_mic_boost,
    @@ -8215,6 +8225,7 @@ static const struct snd_pci_quirk alc269
    SND_PCI_QUIRK(0x1043, 0x12a0, "ASUS X441UV", ALC233_FIXUP_EAPD_COEF_AND_MIC_NO_PRESENCE),
    SND_PCI_QUIRK(0x1043, 0x12e0, "ASUS X541SA", ALC256_FIXUP_ASUS_MIC),
    SND_PCI_QUIRK(0x1043, 0x12f0, "ASUS X541UV", ALC256_FIXUP_ASUS_MIC),
    + SND_PCI_QUIRK(0x1043, 0x1313, "Asus K42JZ", ALC269VB_FIXUP_ASUS_MIC_NO_PRESENCE),
    SND_PCI_QUIRK(0x1043, 0x13b0, "ASUS Z550SA", ALC256_FIXUP_ASUS_MIC),
    SND_PCI_QUIRK(0x1043, 0x1427, "Asus Zenbook UX31E", ALC269VB_FIXUP_ASUS_ZENBOOK),
    SND_PCI_QUIRK(0x1043, 0x1517, "Asus Zenbook UX31A", ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A),

    \
     
     \ /
      Last update: 2022-08-23 13:12    [W:4.024 / U:0.296 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site