We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9825cf2 + 8522d80 commit 973772cCopy full SHA for 973772c
1 file changed
drivers/acpi/acpi_tad.c
@@ -856,7 +856,7 @@ static int acpi_tad_probe(struct platform_device *pdev)
856
* runtime suspend. Everything else should be taken care of by the ACPI
857
* PM domain callbacks.
858
*/
859
- if (ACPI_TAD_AC_WAKE) {
+ if (caps & ACPI_TAD_AC_WAKE) {
860
device_init_wakeup(dev, true);
861
dev_pm_set_driver_flags(dev, DPM_FLAG_SMART_SUSPEND |
862
DPM_FLAG_MAY_SKIP_RESUME);
0 commit comments