Skip to contentSkip to conversation

regulator: atc260x: Fix missing active_discharge_on setting

PATCH In review Axel Lin 2 participants 2 messages Apr 3, 2022 – Apr 5, 2022

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 regulator: atc260x: Fix missing active_discharge_on setting

Without active_discharge_on setting, the SWITCH1 discharge enable control is always disabled. Fix it.

Fixes 3b15ccac161a ("regulator: Add regulator driver for ATC260x PMICs")
---
 drivers/regulator/atc260x-regulator.c | 1 +
 1 file changed, 1 insertion(+)
drivers/regulator/atc260x-regulator.c +1 -0
index 05147d2c3842..485e58b264c0 100644
@@ -292,6 +292,7 @@ enum atc2603c_reg_ids {
 	.bypass_mask = BIT(5), \
 	.active_discharge_reg = ATC2603C_PMU_SWITCH_CTL, \
 	.active_discharge_mask = BIT(1), \
+	.active_discharge_on = BIT(1), \
 	.owner = THIS_MODULE, \
 }
 
Signature · 1 line
2.32.0
maintainer
#1 lore raw
Quoted 4 lines · Axel Lin

Without active_discharge_on setting, the SWITCH1 discharge enable control is always disabled. Fix it.

Applied to

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

Thanks!

[1/1] regulator: atc260x: Fix missing active_discharge_on setting

      commit: 2316f0fc0ad2aa87a568ceaf3d76be983ee555c3

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