regulator: rtmv20: Add missing regcache cache only before marked as dirty
authorChiYuan Huang <cy_huang@richtek.com>
Wed, 30 Sep 2020 10:18:52 +0000 (18:18 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 30 Sep 2020 11:58:09 +0000 (12:58 +0100)
commit6228cc8aed9e51afa56727b11001b37913e4dda6
tree3a6c78896ff7af395372e2199fc581cca283ee6f
parent89a5f77e3f3a7fb8d6cf25668489d66069ebe4b7
regulator: rtmv20: Add missing regcache cache only before marked as dirty

Add missing regcache cache only before masked as dirty.

Signed-off-by: ChiYuan Huang <cy_huang@richtek.com>
Link: https://lore.kernel.org/r/1601461132-15251-1-git-send-email-u0084500@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rtmv20-regulator.c