lkml.org 
[lkml]   [2020]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.4 053/191] ALSA: hda/realtek - Add Bass Speaker and fixed dac for bass speaker
    Date
    From: Kailang Yang <kailang@realtek.com>

    [ Upstream commit e79c22695abd3b75a6aecf4ea4b9607e8d82c49c ]

    Dell has new platform which has dual speaker connecting.
    They want dual speaker which use same dac for output.

    Signed-off-by: Kailang Yang <kailang@realtek.com>
    Cc: <stable@vger.kernel.org>
    Link: https://lore.kernel.org/r/229c7efa2b474a16b7d8a916cd096b68@realtek.com
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    sound/pci/hda/patch_realtek.c | 19 +++++++++++++++++++
    1 file changed, 19 insertions(+)

    diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
    index e1229dbad6b2..dfcd0e611068 100644
    --- a/sound/pci/hda/patch_realtek.c
    +++ b/sound/pci/hda/patch_realtek.c
    @@ -5896,6 +5896,8 @@ enum {
    ALC294_FIXUP_ASUS_INTSPK_HEADSET_MIC,
    ALC256_FIXUP_MEDION_HEADSET_NO_PRESENCE,
    ALC294_FIXUP_ASUS_INTSPK_GPIO,
    + ALC289_FIXUP_DELL_SPK2,
    + ALC289_FIXUP_DUAL_SPK,
    };

    static const struct hda_fixup alc269_fixups[] = {
    @@ -6993,6 +6995,21 @@ static const struct hda_fixup alc269_fixups[] = {
    .chained = true,
    .chain_id = ALC294_FIXUP_ASUS_INTSPK_HEADSET_MIC
    },
    + [ALC289_FIXUP_DELL_SPK2] = {
    + .type = HDA_FIXUP_PINS,
    + .v.pins = (const struct hda_pintbl[]) {
    + { 0x17, 0x90170130 }, /* bass spk */
    + { }
    + },
    + .chained = true,
    + .chain_id = ALC269_FIXUP_DELL4_MIC_NO_PRESENCE
    + },
    + [ALC289_FIXUP_DUAL_SPK] = {
    + .type = HDA_FIXUP_FUNC,
    + .v.func = alc285_fixup_speaker2_to_dac1,
    + .chained = true,
    + .chain_id = ALC289_FIXUP_DELL_SPK2
    + },
    };

    static const struct snd_pci_quirk alc269_fixup_tbl[] = {
    @@ -7065,6 +7082,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
    SND_PCI_QUIRK(0x1028, 0x08ad, "Dell WYSE AIO", ALC225_FIXUP_DELL_WYSE_AIO_MIC_NO_PRESENCE),
    SND_PCI_QUIRK(0x1028, 0x08ae, "Dell WYSE NB", ALC225_FIXUP_DELL1_MIC_NO_PRESENCE),
    SND_PCI_QUIRK(0x1028, 0x0935, "Dell", ALC274_FIXUP_DELL_AIO_LINEOUT_VERB),
    + SND_PCI_QUIRK(0x1028, 0x097e, "Dell Precision", ALC289_FIXUP_DUAL_SPK),
    + SND_PCI_QUIRK(0x1028, 0x097d, "Dell Precision", ALC289_FIXUP_DUAL_SPK),
    SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
    SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE),
    SND_PCI_QUIRK(0x103c, 0x1586, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC2),
    --
    2.20.1


    \
     
     \ /
      Last update: 2020-01-07 22:11    [W:4.260 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site