lkml.org 
[lkml]   [2011]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] mcu_mpc8349emitx.c: add shutdown request support
From
Date

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@gmail.com>
> ---
> arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c | 58 +++++++++++++++++++++++-
> arch/powerpc/platforms/Kconfig | 2 +-
> 2 files changed, 58 insertions(+), 2 deletions(-)

applied

- k

\
 
 \ /
  Last update: 2011-11-03 19:09    [W:0.034 / U:23.172 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site