diff options
| author | 2020-11-09 11:57:25 +0100 | |
|---|---|---|
| committer | 2020-12-17 14:18:48 +0100 | |
| commit | b9c90f153d836522621b5504087cf83419886e30 (patch) | |
| tree | e3b3b96793a6787af5a7608df5f2523dec8345a5 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | pwm: lpss: Log error from pwm_lpss_is_updating() if the update bit is still set (diff) | |
| download | linux-dev-b9c90f153d836522621b5504087cf83419886e30.tar.xz linux-dev-b9c90f153d836522621b5504087cf83419886e30.zip | |
pwm: lpss: Use DPM_FLAG_NO_DIRECT_COMPLETE instead of declaring a prepare handler
ACPI LPSS devices use direct-complete style suspend/resume handling by
default. We set the DPM_FLAG_SMART_PREPARE and define a prepare handler
to disable this on Cherry Trail devices.
Clean this up a bit by setting the DPM_FLAG_NO_DIRECT_COMPLETE flag for
Cherry Trail devices, instead of defining a prepare handler.
While at it also improve the comment explaining why this is necessary.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
