regulator: tps6591x: Optimize voltage change using cache
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 12 Sep 2011 07:58:12 +0000 (12:58 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Fri, 23 Mar 2012 21:18:15 +0000 (14:18 -0700)
commitabab1cb0bc4d74787c9feee56cec31d59b1a3662
tree95af08d230d8c81c41e25fe8b1a6a321b6461d38
parent0c78eef44e606ce8c0bf935ceb9a74f58badc743
regulator: tps6591x: Optimize voltage change using cache

Optimizing the time require to change the voltage by using the
register caching.

bug 870689

Reviewed-on: http://git-master/r/51754
(cherry picked from commit cb2676e3e25f3a6134f38ecb0e3dfe9e7a1f4fd4)

Change-Id: I771d6d0ebad60d05381af07cc791f5ad8b4426fd
Reviewed-on: http://git-master/r/55643
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: R89993e38c00a6e1dc0f482bd6319830548b90118
drivers/regulator/tps6591x-regulator.c