29 Feb, 2020

3 commits

  • commit cc5049ae4d457194796f854eb2e38b9727ad8c2d upstream.

    MSI GP65 laptop with SSID 1462:1293 requires the same quirk as other
    MSI models.

    BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=204159
    Cc:
    Link: https://lore.kernel.org/r/20200218080915.3433-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Takashi Iwai
     
  • commit a655e2b107d463ce2745188ce050d07daed09a71 upstream.

    The same quirk that was applied to MSI GL73 is needed for MSI GP63,
    too. Adding the entry with the SSID 1462:1228.

    BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=206503
    Cc:
    Link: https://lore.kernel.org/r/20200217151947.17528-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Takashi Iwai
     
  • commit 44eeb081b8630bb3ad3cd381d1ae1831463e48bb upstream.

    Some code in HD-audio driver calls snprintf() in a loop and still
    expects that the return value were actually written size, while
    snprintf() returns the expected would-be length instead. When the
    given buffer limit were small, this leads to a buffer overflow.

    Use scnprintf() for addressing those issues. It returns the actually
    written size unlike snprintf().

    Cc:
    Link: https://lore.kernel.org/r/20200218091409.27162-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Takashi Iwai
     

24 Feb, 2020

3 commits

  • [ Upstream commit ef7d84caa5928b40b1c93a26dbe5a3f12737c6ab ]

    Lenovo Thinkpad T420s uses the same codec as T420, so apply the
    same quirk to enable audio output on a docking station.

    Signed-off-by: Peter Große
    Link: https://lore.kernel.org/r/20200122180106.9351-1-pegro@friiks.de
    Signed-off-by: Takashi Iwai
    Signed-off-by: Sasha Levin

    Peter Große
     
  • [ Upstream commit 2928fa0a97ebb9549cb877fdc99aed9b95438c3a ]

    The initial snd_hda_get_sub_node() can fail on certain
    devices (e.g. some Chromebook models using Intel GLK).
    The failure rate is very low, but as this is is part of
    the probe process, end-user impact is high.

    In observed cases, related hardware status registers have
    expected values, but the node query still fails. Retrying
    the node query does seem to help, so fix the problem by
    adding retry logic to the query. This does not impact
    non-Intel platforms.

    BugLink: https://github.com/thesofproject/linux/issues/1642
    Signed-off-by: Kai Vehmanen
    Reviewed-by: Takashi Iwai
    Link: https://lore.kernel.org/r/20200120160117.29130-4-kai.vehmanen@linux.intel.com
    Signed-off-by: Takashi Iwai
    Signed-off-by: Sasha Levin

    Kai Vehmanen
     
  • [ Upstream commit 5fab5829674c279839a7408ab30c71c6dfe726b9 ]

    Dell E7xx laptops have also mic mute LED that is driven by the
    dell-laptop platform driver. Bind it with the capture control as
    already done for other models.

    A caveat is that the fixup hook for the mic mute LED has to be applied
    at last, otherwise it results in the invalid override of the callback.

    BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=205529
    Link: https://lore.kernel.org/r/20200105081119.21396-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai
    Signed-off-by: Sasha Levin

    Takashi Iwai
     

20 Feb, 2020

2 commits

  • commit 7dafba3762d6c0083ded00a48f8c1a158bc86717 upstream.

    MSI-GL73 laptop with ALC1220 codec requires a similar workaround for
    Clevo laptops to enforce the DAC/mixer connection path. Set up a
    quirk entry for that.

    BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=204159
    Cc:
    Link: https://lore.kernel.org/r/20200212081047.27727-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Takashi Iwai
     
  • commit 2b3b6497c38d123934de68ea82a247b557d95290 upstream.

    Add supported Headset Button for ALC215/ALC285/ALC289.

    Signed-off-by: Kailang Yang
    Cc:
    Link: https://lore.kernel.org/r/948f70b4488f4cc2b629a39ce4e4be33@realtek.com
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Kailang Yang
     

11 Feb, 2020

3 commits

  • commit 78be2228c15dd45865b102b29d72e721f0ace9b1 upstream.

    Add HD Audio Device PCI ID and codec vendor_id for the Intel JasperLake
    REV2/A0 silicon.

    Signed-off-by: Yong Zhi
    Signed-off-by: Pierre-Louis Bossart
    Cc:
    Link: https://lore.kernel.org/r/20200131204003.10153-1-pierre-louis.bossart@linux.intel.com
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Yong Zhi
     
  • commit d8feb6080bb0c9f4d799a423d9453048fdd06990 upstream.

    Using HDA power-saving on the Clevo W65_67SB causes the first 0.5
    seconds of audio to be missing every time audio starts playing.

    This commit adds the Clevo W65_67SB the power_save blacklist to avoid
    this issue.

    Cc: stable@vger.kernel.org
    BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1525104
    Signed-off-by: Hans de Goede
    Link: https://lore.kernel.org/r/20200125181021.70446-1-hdegoede@redhat.com
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Hans de Goede
     
  • commit 4d024fe8f806e20e577cc934204c5784c7063293 upstream.

    It turned out that the recent simplification of HD-audio bus access
    helpers caused a regression on the virtual HD-audio device on QEMU
    with ARM platforms. The driver got a CORB/RIRB timeout and couldn't
    probe any codecs.

    The essential difference that caused a problem was the enforced
    aligned MMIO accesses by simplification. Since snd-hda-tegra driver
    is enabled on ARM, it enables CONFIG_SND_HDA_ALIGNED_MMIO, which makes
    the all HD-audio drivers using the aligned MMIO accesses. While this
    is mandatory for snd-hda-tegra, it seems that snd-hda-intel on ARM
    gets broken by this access pattern.

    For addressing the regression, this patch introduces a new flag,
    aligned_mmio, to hdac_bus object, and applies the aligned MMIO only
    when this flag is set. This change affects only platforms with
    CONFIG_SND_HDA_ALIGNED_MMIO set, i.e. mostly only for ARM platforms.

    Unfortunately the patch became a big bigger than it should be, just
    because the former calls didn't take hdac_bus object in the argument,
    hence we had to extend the call patterns.

    Fixes: 19abfefd4c76 ("ALSA: hda: Direct MMIO accesses")
    BugLink: https://bugzilla.opensuse.org/show_bug.cgi?id=1161152
    Cc:
    Link: https://lore.kernel.org/r/20200120104127.28985-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Takashi Iwai
     

01 Feb, 2020

1 commit

  • [ Upstream commit d64ebdbfd4f71406f58210f5ccb16977b4cd31d2 ]

    We have a new Dell machine which needs to apply the quirk
    ALC255_FIXUP_DELL1_MIC_NO_PRESENCE, try to use the fallback table
    to fix it this time. And we could remove all pintbls of alc236
    for applying DELL1_MIC_NO_PRESENCE on Dell machines.

    Signed-off-by: Hui Wang
    Link: https://lore.kernel.org/r/20191121022644.8078-2-hui.wang@canonical.com
    Signed-off-by: Takashi Iwai
    Signed-off-by: Sasha Levin

    Hui Wang
     

15 Jan, 2020

3 commits


09 Jan, 2020

8 commits

  • commit 66c5d718e5a6f80153b5e8d6ad8ba8e9c3320839 upstream.

    Chrome machine had humming noise from external speaker plugin at
    codec D3 state.

    Signed-off-by: Kailang Yang
    Cc:
    Link: https://lore.kernel.org/r/2692449396954c6c968f5b75e2660358@realtek.com
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Kailang Yang
     
  • commit c366b3dbbab14b28d044b94eb9ce77c23482ea35 upstream.

    Klaus Ethgen reported occasional high CPU usages in his system that
    seem caused by HD-audio driver. The perf output revealed that it's
    in the unsolicited event handling in the workqueue, and the problem
    seems triggered by some communication stall between the controller and
    the codec at the runtime or system resume.

    Actually a similar phenomenon was seen in the past for other Intel
    platforms, and we already applied the workaround to enforce sync-write
    for CORB/RIRB verbs for Skylake and newer chipsets (commit
    2756d9143aa5 "ALSA: hda - Fix intermittent CORB/RIRB stall on Intel
    chips"). Fortunately, the same workaround is applicable to the old
    chipset, and the experiment showed the positive effect.

    Based on the experiment result, this patch enables the sync-write
    workaround for all Intel chipsets. The only reason I hesitated to
    apply this workaround was about the possibly slightly higher CPU usage.
    But if the lack of sync causes a much severer problem even for quite
    old chip, we should think this would be necessary for all Intel chips.

    Reported-by: Klaus Ethgen
    Cc:
    Link: https://lore.kernel.org/r/20191223171833.GA17053@chua
    Link: https://lore.kernel.org/r/20191223221816.32572-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Takashi Iwai
     
  • commit 0aec96f5897ac16ad9945f531b4bef9a2edd2ebd upstream.

    Jia-Ju Bai reported a possible sleep-in-atomic scenario in the ice1724
    driver with Infrasonic Quartet support code: namely, ice->set_rate
    callback gets called inside ice->reg_lock spinlock, while the callback
    in quartet.c holds ice->gpio_mutex.

    This patch fixes the invalid call: it simply moves the calls of
    ice->set_rate and ice->set_mclk callbacks outside the spinlock.

    Reported-by: Jia-Ju Bai
    Cc:
    Link: https://lore.kernel.org/r/5d43135e-73b9-a46a-2155-9e91d0dcdf83@gmail.com
    Link: https://lore.kernel.org/r/20191218192606.12866-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Takashi Iwai
     
  • [ Upstream commit 475feec0c41ad71cb7d02f0310e56256606b57c5 ]

    We made the error message for the CORB/RIRB communication clearer by
    upgrading to dev_WARN() so that user can notice better. But this
    struck us like a boomerang: now it caught syzbot and reported back as
    a fatal issue although it's not really any too serious bug that worth
    for stopping the whole system.

    OK, OK, let's be softy, downgrade it to the standard dev_err() again.

    Fixes: dd65f7e19c69 ("ALSA: hda - Show the fatal CORB/RIRB error more clearly")
    Reported-by: syzbot+b3028ac3933f5c466389@syzkaller.appspotmail.com
    Link: https://lore.kernel.org/r/20191216151224.30013-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai
    Signed-off-by: Sasha Levin

    Takashi Iwai
     
  • [ Upstream commit d2cd795c4ece1a24fda170c35eeb4f17d9826cbb ]

    The auto-parser assigns the bass speaker to DAC3 (NID 0x06) which
    is without the volume control. I do not see a reason to use DAC2,
    because the shared output to all speakers produces the sufficient
    and well balanced sound. The stereo support is enough for this
    purpose (laptop).

    Signed-off-by: Jaroslav Kysela
    Link: https://lore.kernel.org/r/20191129144027.14765-1-perex@perex.cz
    Signed-off-by: Takashi Iwai
    Signed-off-by: Sasha Levin

    Jaroslav Kysela
     
  • [ Upstream commit bacd861452d2be86a4df341b12e32db7dac8021e ]

    Nvidia proprietary driver doesn't support runtime power management, so
    when a user only wants to use the integrated GPU, it's a common practice
    to let dGPU not to bind any driver, and let its upstream port to be
    runtime suspended. At the end of runtime suspension the port uses
    platform power management to disable power through _OFF method of power
    resource, which is listed by _PR3.

    After commit b516ea586d71 ("PCI: Enable NVIDIA HDA controllers"), when
    the dGPU comes with an HDA function, the HDA won't be suspended if the
    dGPU is unbound, so the power resource can't be turned off by its
    upstream port driver.

    Commit 37a3a98ef601 ("ALSA: hda - Enable runtime PM only for
    discrete GPU") only allows HDA to be runtime suspended once GPU is
    bound, to keep APU's HDA working.

    However, HDA on dGPU isn't that useful if dGPU is not bound to any
    driver. So let's relax the runtime suspend requirement for dGPU's HDA
    function, to disable the power source to save lots of power.

    BugLink: https://bugs.launchpad.net/bugs/1840835
    Fixes: b516ea586d71 ("PCI: Enable NVIDIA HDA controllers")
    Signed-off-by: Kai-Heng Feng
    Link: https://lore.kernel.org/r/20191018073848.14590-2-kai.heng.feng@canonical.com
    Signed-off-by: Takashi Iwai
    Signed-off-by: Sasha Levin

    Kai-Heng Feng
     
  • [ Upstream commit 48e01504cf5315cbe6de9b7412e792bfcc3dd9e1 ]

    ASUS reported that there's an bass speaker in addition to internal
    speaker and it uses DAC 0x02. It was not enabled in the commit
    436e25505f34 ("ALSA: hda/realtek - Enable internal speaker of ASUS
    UX431FLC") which only enables the amplifier and the front speaker.
    This commit enables the bass speaker on top of the aforementioned
    work to improve the acoustic experience.

    Fixes: 436e25505f34 ("ALSA: hda/realtek - Enable internal speaker of ASUS UX431FLC")
    Signed-off-by: Chris Chiu
    Signed-off-by: Jian-Hong Pan
    Cc:
    Link: https://lore.kernel.org/r/20191230031118.95076-1-chiu@endlessm.com
    Signed-off-by: Takashi Iwai
    Signed-off-by: Sasha Levin

    Chris Chiu
     
  • [ 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
    Cc:
    Link: https://lore.kernel.org/r/229c7efa2b474a16b7d8a916cd096b68@realtek.com
    Signed-off-by: Takashi Iwai
    Signed-off-by: Sasha Levin

    Kailang Yang
     

31 Dec, 2019

3 commits

  • commit 42fb6b1d41eb5905d77c06cad2e87b70289bdb76 upstream.

    CA0132 has the delayed HP jack detection code that is invoked from the
    unsol handler, but it does a few weird things: it contains the cancel
    of a work inside the work handler, and yet it misses the cancel-sync
    call at (runtime-)suspend. This patch addresses those issues.

    Fixes: 15c2b3cc09a3 ("ALSA: hda/ca0132 - Fix possible workqueue stall")
    Cc:
    Link: https://lore.kernel.org/r/20191213085111.22855-4-tiwai@suse.de
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Takashi Iwai
     
  • commit cb04fc3b6b076f67d228a0b7d096c69ad486c09c upstream.

    Introduce a timeout to dspio_clear_response_queue() so that it won't
    be caught in an endless loop even if the hardware doesn't respond
    properly.

    Fixes: a73d511c4867 ("ALSA: hda/ca0132: Add unsol handler for DSP and jack detection")
    Cc:
    Link: https://lore.kernel.org/r/20191213085111.22855-3-tiwai@suse.de
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Takashi Iwai
     
  • commit 377bc0cfabce0244632dada19060839ced4e6949 upstream.

    We need to keep power on while processing the DSP response via unsol
    event. Each snd_hda_codec_read() call does the power management, so
    it should work normally, but still it's safer to keep the power up for
    the whole function.

    Fixes: a73d511c4867 ("ALSA: hda/ca0132: Add unsol handler for DSP and jack detection")
    Cc:
    Link: https://lore.kernel.org/r/20191213085111.22855-2-tiwai@suse.de
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Takashi Iwai
     

21 Dec, 2019

1 commit

  • commit 6fd739c04ffd877641b01371f9fde67901e7f9cb upstream.

    The commit e38e486d66e2 ("ALSA: hda: Modify stream stripe mask only
    when needed") tried to address the regression by the unconditional
    application of the stripe mask, but this caused yet another
    regression for the previously working devices. Namely, the patch
    clears the azx_dev->stripe flag at snd_hdac_stream_clear(), but this
    may be called multiple times before restarting the stream, so this
    ended up with clearance of the flag for the whole time.

    This patch fixes the regression by moving the azx_dev->stripe flag
    clearance at the counter-part, the close callback of HDMI codec
    driver instead.

    Fixes: e38e486d66e2 ("ALSA: hda: Modify stream stripe mask only when needed")
    BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=205855
    BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=204477
    Cc:
    Link: https://lore.kernel.org/r/20191214175217.31852-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai
    Cc: Stefani Seibold
    Cc: Laura Abbott
    Signed-off-by: Greg Kroah-Hartman

    Takashi Iwai
     

18 Dec, 2019

1 commit

  • commit 5815bdfd7f54739be9abed1301d55f5e74d7ad1f upstream.

    After applying the fixup ALC274_FIXUP_DELL_AIO_LINEOUT_VERB, the
    Line-out jack works well. And instead of adding a new set of pin
    definition in the pin_fixup_tbl, we put a more generic matching entry
    in the fallback_pin_fixup_tbl.

    Cc:
    Signed-off-by: Hui Wang
    Link: https://lore.kernel.org/r/20191211051321.5883-1-hui.wang@canonical.com
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Hui Wang
     

13 Dec, 2019

7 commits

  • [ Upstream commit ca58f55108fee41d87c9123f85ad4863e5de7f45 ]

    This is an alternative fix attemp for the issue reported in the commit
    caa8422d01e9 ("ALSA: hda: Flush interrupts on disabling") that was
    reverted later due to regressions. Instead of tweaking the hardware
    disablement order and the enforced irq flushing, do calling
    cancel_work_sync() of the unsol work early enough, and explicitly
    ignore the unsol events during the shutdown by checking the
    bus->shutdown flag.

    Fixes: caa8422d01e9 ("ALSA: hda: Flush interrupts on disabling")
    Cc: Chris Wilson
    Link: https://lore.kernel.org/r/s5h1ruxt9cz.wl-tiwai@suse.de
    Signed-off-by: Takashi Iwai
    Signed-off-by: Sasha Levin

    Takashi Iwai
     
  • commit e38e486d66e2a3b902768fd71c32dbf10f77e1cb upstream.

    The recent commit in HD-audio stream management for changing the
    stripe control seems causing a regression on some platforms. The
    stripe control is currently used only by HDMI codec, and applying the
    stripe mask unconditionally may lead to scratchy and static noises as
    seen on some MacBooks.

    For addressing the regression, this patch changes the stream
    management code to apply the stripe mask conditionally only when the
    codec driver requested.

    Fixes: 9b6f7e7a296e ("ALSA: hda: program stripe bits for controller")
    BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=204477
    Tested-by: Michael Pobega
    Cc:
    Link: https://lore.kernel.org/r/20191202074947.1617-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Takashi Iwai
     
  • commit e190de6941db14813032af87873f5550ad5764fe upstream.

    Mic mute led does not work on HP ProBook 645 G4.
    We can use CXT_FIXUP_MUTE_LED_GPIO fixup to support it.

    Signed-off-by: Kai-Heng Feng
    Cc:
    Link: https://lore.kernel.org/r/20191120082035.18937-1-kai.heng.feng@canonical.com
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Kai-Heng Feng
     
  • commit 336820c4374bc065317f247dc2bb37c0e41b64a6 upstream.

    We've added the bass speaker support on Acer 8951G by the commit
    00066e9733f6 ("Add Acer Aspire Ethos 8951G model quirk"), but it seems
    that the GPIO pin was wrongly set: while the commit turns off the bit
    to power up the amp, the actual hardware reacts other way round,
    i.e. GPIO bit on = amp on.

    So this patch fixes the bug, turning on the GPIO bit 0x02 as default.
    Since turning on the GPIO bit can be more easily managed with
    alc_setup_gpio() call, we simplify the quirk code by integrating the
    GPIO setup into the existing alc662_fixup_aspire_ethos_hp() and
    dropping the whole ALC669_FIXUP_ACER_ASPIRE_ETHOS_SUBWOOFER quirk.

    Fixes: 00066e9733f6 ("Add Acer Aspire Ethos 8951G model quirk")
    Reported-and-tested-by: Sergey 'Jin' Bostandzhyan
    Cc:
    Link: https://lore.kernel.org/r/20191128202630.6626-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Takashi Iwai
     
  • commit e1e8c1fdce8b00fce08784d9d738c60ebf598ebc upstream.

    headphone have noise even the volume is very small.
    Let it fill up pcbeep hidden register to default value.
    The issue was gone.

    Fixes: 4344aec84bd8 ("ALSA: hda/realtek - New codec support for ALC256")
    Fixes: 736f20a70608 ("ALSA: hda/realtek - Add support for ALC236/ALC3204")
    Signed-off-by: Kailang Yang
    Cc:
    Link: https://lore.kernel.org/r/9ae47f23a64d4e41a9c81e263cd8a250@realtek.com
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Kailang Yang
     
  • commit 695d1ec3994f9de2cefae80ee2087c95d2e5a2f3 upstream.

    The headset on this machine is not defined, after applying the quirk
    ALC256_FIXUP_ASUS_HEADSET_MIC, the headset-mic works well

    BugLink: https://bugs.launchpad.net/bugs/1846148
    Cc:
    Signed-off-by: Hui Wang
    Link: https://lore.kernel.org/r/20191121025427.8856-1-hui.wang@canonical.com
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Hui Wang
     
  • commit 436e25505f3458cc92c7f3c985e9cbc198a98209 upstream.

    Laptops like ASUS UX431FLC and UX431FL can share the same audio quirks.
    But UX431FLC needs one more step to enable the internal speaker: Pull
    the GPIO from CODEC to initialize the AMP.

    Fixes: 60083f9e94b2 ("ALSA: hda/realtek - Enable internal speaker & headset mic of ASUS UX431FL")
    Signed-off-by: Jian-Hong Pan
    Cc:
    Link: https://lore.kernel.org/r/20191125093405.5702-1-jian-hong@endlessm.com
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Jian-Hong Pan
     

29 Nov, 2019

1 commit

  • commit 5a858e79c911330678b5a9be91a24830e94a0dc9 upstream.

    The old Nvidia chips have multiple HD-audio codecs on the same
    HD-audio controller, and this doesn't work as expected with the current
    audio component binding that is implemented under the one-codec-per-
    controller assumption; at the probe time, the driver leads to several
    kernel WARNING messages.

    For the proper support, we may change the pin2port and port2pin to
    traverse the codec list per the given pin number, but this needs more
    development and testing.

    As a quick workaround, instead, this patch drops the binding in the
    audio side for these legacy chips since the audio component support in
    nouveau graphics driver is still not merged (hence it's basically
    unused).

    [ Unlike the original commit, this patch actually disables the audio
    component binding for all Nvidia chips, not only for legacy chips.
    It doesn't matter much, though: nouveau gfx driver still doesn't
    provide the audio component binding on 5.4.y, so it's only a
    placeholder for now. Also, another difference from the original
    commit is that this removes the nvhdmi_audio_ops and other
    definitions completely in order to avoid a compile warning due to
    unused stuff. -- tiwai ]

    BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=205625
    Fixes: ade49db337a9 ("ALSA: hda/hdmi - Allow audio component for AMD/ATI and Nvidia HDMI")
    Link: https://lore.kernel.org/r/20191122132000.4460-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai
    Signed-off-by: Greg Kroah-Hartman

    Takashi Iwai
     

11 Nov, 2019

2 commits

  • Apply same logic to pin setup as on previous platforms. Fixes
    errors in HDMI/DP playback.

    Tested with both snd-hda-intel and SOF drivers.

    Fixes: 9a11ba7388f1 ("ALSA: hda: hdmi - add Tigerlake support")
    Signed-off-by: Kai Vehmanen
    Link: https://lore.kernel.org/r/20191111133838.21213-1-kai.vehmanen@linux.intel.com
    Signed-off-by: Takashi Iwai

    Kai Vehmanen
     
  • Add HD Audio Device PCI ID for the Intel Cometlake-S platform

    Signed-off-by: Chiou, Cooper
    Link: https://lore.kernel.org/r/20191108071349.12840-1-cooper.chiou@intel.com
    Signed-off-by: Takashi Iwai

    Chiou, Cooper
     

06 Nov, 2019

1 commit

  • Add Tigerlake HDMI codec support.

    BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=205379
    BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=112171
    Cc: Pan Xiuli
    Signed-off-by: Kai Vehmanen
    Link: https://lore.kernel.org/r/20191105161053.22958-1-kai.vehmanen@linux.intel.com
    Signed-off-by: Takashi Iwai

    Kai Vehmanen
     

05 Nov, 2019

1 commit

  • The unsolicited event handler for the headphone jack on CA0132 codec
    driver tries to reschedule the another delayed work with
    cancel_delayed_work_sync(). It's no good idea, unfortunately,
    especially after we changed the work queue to the standard global
    one; this may lead to a stall because both works are using the same
    global queue.

    Fix it by dropping the _sync but does call cancel_delayed_work()
    instead.

    Fixes: 993884f6a26c ("ALSA: hda/ca0132 - Delay HP amp turnon.")
    BugLink: https://bugzilla.suse.com/show_bug.cgi?id=1155836
    Cc:
    Link: https://lore.kernel.org/r/20191105134316.19294-1-tiwai@suse.de
    Signed-off-by: Takashi Iwai

    Takashi Iwai