mirror of https://gitee.com/openkylin/linux.git
ACPI / LPSS: set PM domain via helper setter
The commit989561de9b
("PM / Domains: add setter for dev.pm_domain") changed acpi_lpss.c module to use PM domain setter, though it missed one assignment. Add it here. Fixes:989561de9b
(PM / Domains: add setter for dev.pm_domain) Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
3ded91041a
commit
5be6ada39f
|
@ -880,7 +880,7 @@ static int acpi_lpss_platform_notify(struct notifier_block *nb,
|
||||||
break;
|
break;
|
||||||
case BUS_NOTIFY_DRIVER_NOT_BOUND:
|
case BUS_NOTIFY_DRIVER_NOT_BOUND:
|
||||||
case BUS_NOTIFY_UNBOUND_DRIVER:
|
case BUS_NOTIFY_UNBOUND_DRIVER:
|
||||||
pdev->dev.pm_domain = NULL;
|
dev_pm_domain_set(&pdev->dev, NULL);
|
||||||
break;
|
break;
|
||||||
case BUS_NOTIFY_ADD_DEVICE:
|
case BUS_NOTIFY_ADD_DEVICE:
|
||||||
dev_pm_domain_set(&pdev->dev, &acpi_lpss_pm_domain);
|
dev_pm_domain_set(&pdev->dev, &acpi_lpss_pm_domain);
|
||||||
|
|
Loading…
Reference in New Issue