linux/include
Lin Ming 0090def6c3 ACPI: Add interface to register/unregister device to/from power resources
Devices may share same list of power resources in _PR0, for example

Device(Dev0)
{
	Name (_PR0, Package (0x01)
	{
		P0PR,
		P1PR
	})
}

Device(Dev1)
{
	Name (_PR0, Package (0x01)
	{
		P0PR,
		P1PR
	}
}

Assume Dev0 and Dev1 were runtime suspended.
Then Dev0 is resumed first and it goes into D0 state.
But Dev1 is left in D0_Uninitialised state.

This is wrong. In this case, Dev1 must be resumed too.

In order to hand this case, each power resource maintains a list of
devices which relies on it.

When power resource is ON, it will check if the devices on its list
can be resumed. The device can only be resumed when all the power
resouces of its _PR0 are ON.

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2012-03-30 01:47:20 -04:00
..
acpi ACPI: Add interface to register/unregister device to/from power resources 2012-03-30 01:47:20 -04:00
asm-generic [PARISC] fix compile break caused by iomap: make IOPORT/PCI mapping functions conditional 2012-02-27 09:43:30 -06:00
crypto
drm drm/exynos: exynos_drm.h header file fixes 2012-02-15 10:29:12 +09:00
keys
linux Merge branch 'for-linus' of git://git.kernel.dk/linux-block 2012-03-14 17:16:45 -07:00
math-emu
media
misc
mtd
net route: Remove redirect_genid 2012-03-08 00:30:32 -08:00
pcmcia
rdma
rxrpc
scsi
sound Merge branch 'fix/asoc' into for-linus 2012-01-31 15:13:14 +01:00
target target: Change target_submit_cmd() to return void 2012-02-07 06:41:04 +00:00
trace sched/events: Revert trace_sched_stat_sleeptime() 2012-02-22 12:06:55 +01:00
video fbdev fixes for 3.3 2012-02-07 15:54:02 -08:00
xen
Kbuild