Re: uio: power management of user-space drivers

From: Greg KH
Date: Tue Feb 15 2011 - 20:19:16 EST


On Wed, Feb 16, 2011 at 01:21:04AM +0100, Hans J. Koch wrote:
> Let me guess: suspend/resume functions are supposed to leave your hardware in
> a consistent state and you don't know the state if the suspend() catches you
> in the middle of your userspace processing?
> I remember the Android guys had problems like that and invented some
> "suspend blockers". However, I don't remember what the final answer in that
> discussion was. Greg?

It's all in the kernel today. See:
http://lwn.net/Articles/416690/
for all of the details you will ever need.

Hope this helps,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/