arm: mfd/regulator: tps80031: Adding force_update for status register
authorJin Park <jinyoungp@nvidia.com>
Sat, 25 Jun 2011 08:00:03 +0000 (17:00 +0900)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:47:17 +0000 (21:47 -0800)
commit524a1168d335d4c9e21fad1249777822d576aa00
tree991ca785640b0ee65bd562ba0d550cfeb30c4e02
parent938b7b59ffab98ca69681a36705130517409b92d
arm: mfd/regulator: tps80031: Adding force_update for status register

The state register is read and write register, if read, it returned
current state, not current written value in register.
So if it want to write the value into state register, it must unconditional
write the value, don't use update(read and compare and then write).

Bug 838189

Original-Change-Id: I2555875a822f159e664b0834af2d00073c859acd
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/38396
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Ra90d4ccbe0373bbdad44422e8ff6798eea96019a
drivers/mfd/tps80031.c
drivers/regulator/tps80031-regulator.c
include/linux/mfd/tps80031.h