[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <3051811F-3000-44B1-B207-01D654E453E3@kernel.crashing.org>
Date: Thu, 3 Nov 2011 13:07:10 -0500
From: Kumar Gala <galak@...nel.crashing.org>
To: Fabio Baltieri <fabio.baltieri@...il.com>
Cc: Anton Vorontsov <avorontsov@...mvista.com>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mcu_mpc8349emitx.c: add shutdown request support
On Aug 15, 2011, at 9:19 AM, Fabio Baltieri wrote:
> This patch add support for calling ctrl_alt_del() when the power button is
> pressed for more than about 2 seconds on some freescale MPC83xx
> evaluation boards and reference design.
>
> The code uses a kthread to poll the CTRL_BTN bit each second.
>
> Also change Kconfig entry of the driver to bool, as device's gpio
> registration is broken when loading as module.
>
> Tested on an MPC8315E RDB board.
>
> Signed-off-by: Fabio Baltieri <fabio.baltieri@...il.com>
> ---
> arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c | 58 +++++++++++++++++++++++-
> arch/powerpc/platforms/Kconfig | 2 +-
> 2 files changed, 58 insertions(+), 2 deletions(-)
applied
- k--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists