Skip to contentSkip to conversation

regulator: rtmv20: Add missing regcache cache only before marked as dirty

PATCH In review cy_huang 2 participants 2 messages Sep 30, 2020 Voltage and current regulator framework

lore
Share & tools
lore

cy_huang

author
#0 lore raw

PATCH 1/1 regulator: rtmv20: Add missing regcache cache only before marked as dirty

From: ChiYuan Huang <[email protected]>

Add missing regcache cache only before masked as dirty.

---
 drivers/regulator/rtmv20-regulator.c | 1 +
 1 file changed, 1 insertion(+)
drivers/regulator/rtmv20-regulator.c +1 -0
index 1075b10..0a07598 100644
@@ -321,6 +321,7 @@ static int rtmv20_probe(struct i2c_client *i2c)
 	 * keep in shutdown mode to minimize the current consumption
 	 * and also mark regcache as dirty
 	 */
+	regcache_cache_only(priv->regmap, true);
 	regcache_mark_dirty(priv->regmap);
 	gpiod_set_value(priv->enable_gpio, 0);
 
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 1 line · cy_huang

Add missing regcache cache only before masked as dirty.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Thanks!

[1/1] regulator: rtmv20: Add missing regcache cache only before marked as dirty

      commit: 6228cc8aed9e51afa56727b11001b37913e4dda6

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark