Async serio suspend/resume?
Hi Dmitry,
Do you think it would be safe to allow serio devices to use the async suspend/resume now?
Rafael
Dmitry Torokhov
maintainerHi Rafael,
Quoted 5 lines · Rafael J. Wysocki
Hi Dmitry,
Do you think it would be safe to allow serio devices to use the async suspend/resume now?
Should be fine now, although I would not enable it in .32. But .33 seems like a good target.
Signature · 1 line
Dmitry
Quoted 11 lines · Dmitry Torokhov
Hi Rafael,
Quoted 5 lines · Rafael J. Wysocki
Hi Dmitry,
Do you think it would be safe to allow serio devices to use the async suspend/resume now?
Should be fine now, although I would not enable it in .32. But .33 seems like a good target.
The entire async suspend/resume patchset is targeted at .33, so this is all fine.
So, I guess I can put the appended patch into my linux-next branch?
Rafael
---
From: Rafael J. Wysocki <[email protected]>
Subject: PM: Allow serio input devices to suspend/resume asynchronously
Set async_suspend for all serio input devices, so that they can be suspended and resumed asynchronously with other devices they don't depend on in a known way (i.e. devices which are not their parents or children and to which they are not connected via struct pm_link objects).
--- drivers/input/serio/serio.c | 1 + 1 file changed, 1 insertion(+)
drivers/input/serio/serio.c +1 -0
@@ -576,6 +576,7 @@ static void serio_add_port(struct serioprintk (KERN_ERR "serio: sysfs_create_group() failed for %s (%s), error: %d\n" , serio->phys, serio->name, error); +device_enable_async_suspend (&serio->dev, true); } }
Dmitry Torokhov
maintainerQuoted 10 lines · Rafael J. Wysocki
Quoted 9 lines · Dmitry Torokhov
Hi Rafael,
Quoted 5 lines · Rafael J. Wysocki
Hi Dmitry,
Do you think it would be safe to allow serio devices to use the async suspend/resume now?
Quoted 8 lines
Quoted 2 lines
Should be fine now, although I would not enable it in .32. But .33 seems like a good target.
The entire async suspend/resume patchset is targeted at .33, so this is all fine.
So, I guess I can put the appended patch into my linux-next branch?
Sure, go head.
Signature · 1 line
Dmitry