File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -629,6 +629,18 @@ static bool acpi_pci_need_resume(struct pci_dev *dev)
629
629
{
630
630
struct acpi_device * adev = ACPI_COMPANION (& dev -> dev );
631
631
632
+ /*
633
+ * In some cases (eg. Samsung 305V4A) leaving a bridge in suspend over
634
+ * system-wide suspend/resume confuses the platform firmware, so avoid
635
+ * doing that, unless the bridge has a driver that should take care of
636
+ * the PM handling. According to Section 16.1.6 of ACPI 6.2, endpoint
637
+ * devices are expected to be in D3 before invoking the S3 entry path
638
+ * from the firmware, so they should not be affected by this issue.
639
+ */
640
+ if (pci_is_bridge (dev ) && !dev -> driver &&
641
+ acpi_target_system_state () != ACPI_STATE_S0 )
642
+ return true;
643
+
632
644
if (!adev || !acpi_device_power_manageable (adev ))
633
645
return false;
634
646
You can’t perform that action at this time.
0 commit comments