]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
power: max77620: power off the device with SFT_RST
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 27 Aug 2015 10:41:36 +0000 (16:11 +0530)
committerLaxman Dewangan <ldewangan@nvidia.com>
Sun, 30 Aug 2015 15:59:42 +0000 (08:59 -0700)
commit1f7aa76b88212bf6c47d4bd0531c293e27c0b4c3
treefc7666519ba273fff0af0cc3d0e4080fc2b231cd
parent9dc2d4e6305f8bc0baa9397ab8efffd9936e5e94
power: max77620: power off the device with SFT_RST

Power off device using SFT_RST = 1 and SFT_RST_WK=0 instead of
SFT_RST=1 and PWR_OFF =1.

This will avoid PMIC malfunctioning sometime and cause system to
not power on by power key.

bug 1676570

Change-Id: I58aaed9834e2a7f6458a1107b7950f2c5fcc162a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 715a7655eb535f2bbd140eb4fc222694d62df503)
Reviewed-on: http://git-master/r/791512
drivers/power/reset/max77620-poweroff.c