projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ACPI: Add quirks for AMD Renoir/Lucienne CPUs to force the D3 hint
[linux-2.6-microblaze.git]
/
drivers
/
acpi
/
device_pm.c
diff --git
a/drivers/acpi/device_pm.c
b/drivers/acpi/device_pm.c
index
d76ab50
..
6dd9bd6
100644
(file)
--- a/
drivers/acpi/device_pm.c
+++ b/
drivers/acpi/device_pm.c
@@
-1360,6
+1360,9
@@
bool acpi_storage_d3(struct device *dev)
struct acpi_device *adev = ACPI_COMPANION(dev);
u8 val;
+ if (force_storage_d3())
+ return true;
+
if (!adev)
return false;
if (fwnode_property_read_u8(acpi_fwnode_handle(adev), "StorageD3Enable",