Re: [PATCH] PM: Add missing "freeze" state

From: Srivatsa S. Bhat
Date: Tue Mar 11 2014 - 06:21:52 EST


On 03/11/2014 03:34 PM, Geert Uytterhoeven wrote:
> From: Geert Uytterhoeven <geert+renesas@xxxxxxxxxxxxxx>
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxxxxxxx>

Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@xxxxxxxxxxxxxxxxxx>

While at it, can you also fix up the comment over the state_show()
function in kernel/power/main.c? It is also similarly outdated.

Regards,
Srivatsa S. Bhat

> ---
> Documentation/ABI/testing/sysfs-power | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/ABI/testing/sysfs-power b/Documentation/ABI/testing/sysfs-power
> index 205a73878441..64c9276e9421 100644
> --- a/Documentation/ABI/testing/sysfs-power
> +++ b/Documentation/ABI/testing/sysfs-power
> @@ -12,8 +12,9 @@ Contact: Rafael J. Wysocki <rjw@xxxxxxxxxxxxx>
> Description:
> The /sys/power/state file controls the system power state.
> Reading from this file returns what states are supported,
> - which is hard-coded to 'standby' (Power-On Suspend), 'mem'
> - (Suspend-to-RAM), and 'disk' (Suspend-to-Disk).
> + which is hard-coded to 'freeze' (Low-Power Idle), 'standby'
> + (Power-On Suspend), 'mem' (Suspend-to-RAM), and 'disk'
> + (Suspend-to-Disk).
>
> Writing to this file one of these strings causes the system to
> transition into that state. Please see the file
>

--
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/