1. 03 8月, 2020 2 次提交
  2. 02 8月, 2020 1 次提交
  3. 30 7月, 2020 1 次提交
  4. 29 7月, 2020 1 次提交
  5. 28 7月, 2020 2 次提交
    • T
      ALSA: hda/hdmi: Fix keep_power assignment for non-component devices · c2c3657f
      Takashi Iwai 提交于
      It's been reported that, when neither nouveau nor Nvidia graphics
      driver is used, the screen starts flickering.  And, after comparing
      between the working case (stable 4.4.x) and the broken case, it turned
      out that the problem comes from the audio component binding.  The
      Nvidia and AMD audio binding code clears the bus->keep_power flag
      whenever snd_hdac_acomp_init() succeeds.  But this doesn't mean that
      the component is actually bound, but it merely indicates that it's
      ready for binding.  So, when both nouveau and Nvidia are blacklisted
      or not ready, the driver keeps running without the audio component but
      also with bus->keep_power = false.  This made the driver runtime PM
      kicked in and powering down when unused, which results in flickering
      in the graphics side, as it seems.
      
      For fixing the bug, this patch moves the bus->keep_power flag change
      into generic_acomp_notifier_set() that is the function called from the
      master_bind callback of component ops; i.e. it's guaranteed that the
      binding succeeded.
      
      BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=208609
      Fixes: 5a858e79 ("ALSA: hda - Disable audio component for legacy Nvidia HDMI codecs")
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/20200728082033.23933-1-tiwai@suse.deSigned-off-by: NTakashi Iwai <tiwai@suse.de>
      c2c3657f
    • T
      ALSA: hda: Workaround for spurious wakeups on some Intel platforms · a6630529
      Takashi Iwai 提交于
      We've received a regression report on Intel HD-audio controller that
      wakes up immediately after S3 suspend.  The bisection leads to the
      commit c4c8dd6e ("ALSA: hda: Skip controller resume if not
      needed").  This commit replaces the system-suspend to use
      pm_runtime_force_suspend() instead of the direct call of
      __azx_runtime_suspend().  However, by some really mysterious reason,
      pm_runtime_force_suspend() causes a spurious wakeup (although it calls
      the same __azx_runtime_suspend() internally).
      
      As an ugly workaround for now, revert the behavior to call
      __azx_runtime_suspend() and __azx_runtime_resume() for those old Intel
      platforms that may exhibit such a problem, while keeping the new
      standard pm_runtime_force_suspend() and pm_runtime_force_resume()
      pair for the remaining chips.
      
      Fixes: c4c8dd6e ("ALSA: hda: Skip controller resume if not needed")
      BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=208649
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/20200727164443.4233-1-tiwai@suse.deSigned-off-by: NTakashi Iwai <tiwai@suse.de>
      a6630529
  6. 27 7月, 2020 1 次提交
  7. 25 7月, 2020 2 次提交
  8. 20 7月, 2020 1 次提交
  9. 18 7月, 2020 1 次提交
  10. 17 7月, 2020 1 次提交
  11. 16 7月, 2020 3 次提交
  12. 15 7月, 2020 2 次提交
  13. 13 7月, 2020 1 次提交
  14. 11 7月, 2020 2 次提交
  15. 09 7月, 2020 1 次提交
  16. 07 7月, 2020 8 次提交
  17. 25 6月, 2020 1 次提交
    • H
      ALSA: hda - let hs_mic be picked ahead of hp_mic · 6a6ca788
      Hui Wang 提交于
      We have a Dell AIO, there is neither internal speaker nor internal
      mic, only a multi-function audio jack on it.
      
      Users reported that after freshly installing the OS and plug
      a headset to the audio jack, the headset can't output sound. I
      reproduced this bug, at that moment, the Input Source is as below:
      Simple mixer control 'Input Source',0
        Capabilities: cenum
        Items: 'Headphone Mic' 'Headset Mic'
        Item0: 'Headphone Mic'
      
      That is because the patch_realtek will set this audio jack as mic_in
      mode if Input Source's value is hp_mic.
      
      If it is not fresh installing, this issue will not happen since the
      systemd will run alsactl restore -f /var/lib/alsa/asound.state, this
      will set the 'Input Source' according to history value.
      
      If there is internal speaker or internal mic, this issue will not
      happen since there is valid sink/source in the pulseaudio, the PA will
      set the 'Input Source' according to active_port.
      
      To fix this issue, change the parser function to let the hs_mic be
      stored ahead of hp_mic.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NHui Wang <hui.wang@canonical.com>
      Link: https://lore.kernel.org/r/20200625083833.11264-1-hui.wang@canonical.comSigned-off-by: NTakashi Iwai <tiwai@suse.de>
      6a6ca788
  18. 19 6月, 2020 1 次提交
  19. 18 6月, 2020 8 次提交