regulator: rk808: Support apply_bit for rk808_set_suspend_voltage_range
authorAlex Bee <knaerzche@gmail.com>
Tue, 16 Apr 2024 16:12:36 +0000 (18:12 +0200)
committerLee Jones <lee@kernel.org>
Fri, 3 May 2024 08:15:36 +0000 (09:15 +0100)
commit9f4e899c286b5127e2443d50e37ee2112efbfa2c
tree60a7a447526f11163312d8927dc79016f1702a6e
parent1bd97d64b5f0c01d03ecc9473ccfcf180dbbf54a
regulator: rk808: Support apply_bit for rk808_set_suspend_voltage_range

rk808_set_suspend_voltage_range currently does not account the existence of
apply_bit/apply_reg.

This adds support for those in same way it is done in
regulator_set_voltage_sel_regmap and is required for the upcoming RK816
support

Signed-off-by: Alex Bee <knaerzche@gmail.com>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20240416161237.2500037-5-knaerzche@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/regulator/rk808-regulator.c