Thread (2 messages) 2 messages, 2 authors, 2011-11-03

Re: [PATCH] mcu_mpc8349emitx.c: add shutdown request support

From: Kumar Gala <hidden>
Date: 2011-11-03 18:07:24
Also in: lkml

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.
=20
The code uses a kthread to poll the CTRL_BTN bit each second.
=20
Also change Kconfig entry of the driver to bool, as device's gpio
registration is broken when loading as module.
=20
Tested on an MPC8315E RDB board.
=20
Signed-off-by: Fabio Baltieri <redacted>
---
arch/powerpc/platforms/83xx/mcu_mpc8349emitx.c |   58 =
+++++++++++++++++++++++-
arch/powerpc/platforms/Kconfig                 |    2 +-
2 files changed, 58 insertions(+), 2 deletions(-)
applied

- k=
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help