arch: arm: tegratab: Set poweron_lpk to restart.
Harry Hong [Tue, 18 Jun 2013 07:27:27 +0000 (16:27 +0900)]
By long press key, the system need to be restarted
instead of power off.

bug 1308187

Change-Id: Ib570f2c6f51eb8fe40990e0022e788e90f84e889
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/239622
(cherry picked from commit 996d8c3e9a2889f86f701c48775b27fce69a7389)

arch/arm/mach-tegra/board-tegratab-power.c

index a5ec9ba..8e180e4 100644 (file)
@@ -443,6 +443,7 @@ static struct palmas_platform_data palmas_pdata = {
        .pinctrl_pdata = &palmas_pinctrl_pdata,
        .extcon_pdata = &palmas_extcon_pdata,
        .long_press_delay = PALMAS_LONG_PRESS_KEY_TIME_8SECONDS,
+       .poweron_lpk = PALMAS_SWOFF_COLDRST_PWRON_LPK_RESTART,
 };
 
 struct palmas_clk32k_init_data tegratab_palmas_clk32k_idata[] = {