diff options
author | Rafael J. Wysocki | 2014-05-25 14:38:52 +0200 |
---|---|---|
committer | Rafael J. Wysocki | 2014-05-25 14:38:52 +0200 |
commit | 8ce62f85a81f57e86bc120ab690facc612223188 (patch) | |
tree | 1754f856a05e238e0b5cf30aa89e4f82b2f803b3 /drivers/char/lp.c | |
parent | ACPI / platform: add IDs for Broadcom Bluetooth and GPS chips (diff) | |
download | kernel-qcow2-linux-8ce62f85a81f57e86bc120ab690facc612223188.tar.gz kernel-qcow2-linux-8ce62f85a81f57e86bc120ab690facc612223188.tar.xz kernel-qcow2-linux-8ce62f85a81f57e86bc120ab690facc612223188.zip |
ACPI / platform / LPSS: Enable async suspend/resume of LPSS devices
To seed up suspend and resume of devices included into Intel SoCs
handled by the ACPI LPSS driver during system suspend, make
acpi_lpss_create_device() call device_enable_async_suspend() for
every device created by it.
This requires acpi_create_platform_device() to be modified to return
a pointer to struct platform_device instead of an int. As a result,
acpi_create_platform_device() cannot be pointed to by the .attach
pointer in platform_handler directly any more, so a simple wrapper
around it is necessary for this purpose. That, in turn, allows the
second unused argument of acpi_create_platform_device() to be
dropped, which is an improvement.
Tested-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/char/lp.c')
0 files changed, 0 insertions, 0 deletions