1. 14 Apr, 2020 1 commit
    • Hui Wang's avatar
      ALSA: hda: call runtime_allow() for all hda controllers · 9a641848
      Hui Wang authored
      Before the pci_driver->probe() is called, the pci subsystem calls
      runtime_forbid() and runtime_get_sync() on this pci dev, so only call
      runtime_put_autosuspend() is not enough to enable the runtime_pm on
      this device.
      
      For controllers with vgaswitcheroo feature, the pci/quirks.c will call
      runtime_allow() for this dev, then the controllers could enter
      rt_idle/suspend/resume, but for non-vgaswitcheroo controllers like
      Intel hda controllers, the runtime_pm is not enabled because the
      runtime_allow() is not called.
      
      Since it is no harm calling runtime_allow() twice, here let hda
      driver call runtime_allow() for all controllers. Then the runtime_pm
      is enabled on all controllers after the put_autosuspend() is called.
      Signed-off-by: default avatarHui Wang <hui.wang@canonical.com>
      Link: https://lore.kernel.org/r/20200414142725.6020-1-hui.wang@canonical.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      9a641848
  2. 13 Apr, 2020 7 commits
  3. 12 Apr, 2020 4 commits
  4. 11 Apr, 2020 1 commit
  5. 09 Apr, 2020 1 commit
  6. 08 Apr, 2020 4 commits
  7. 07 Apr, 2020 5 commits
  8. 06 Apr, 2020 3 commits
  9. 04 Apr, 2020 1 commit
  10. 03 Apr, 2020 8 commits
  11. 02 Apr, 2020 2 commits
  12. 01 Apr, 2020 3 commits