OSDN Git Service

PCI: Add generic quirk for increasing D3hot delay
authorDaniel Drake <drake@endlessm.com>
Wed, 27 Nov 2019 05:38:35 +0000 (13:38 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 13 Dec 2019 20:30:00 +0000 (14:30 -0600)
commit62fe23df067715a21c4aef44068efe7ceaa8f627
treef82c6ad33835e26691c487935e0d5bdebe3b4adc
parent574f29036fce385e28617547955dd6911d375025
PCI: Add generic quirk for increasing D3hot delay

Separate the D3 delay increase functionality out of quirk_radeon_pm() into
its own function so that it can be shared with other quirks, including the
AMD Ryzen XHCI quirk that will be introduced in a followup commit.

Tweak the function name and message to indicate more clearly that the delay
relates to a D3hot-to-D0 transition.

Link: https://lore.kernel.org/r/20191127053836.31624-1-drake@endlessm.com
Signed-off-by: Daniel Drake <drake@endlessm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pci/quirks.c