regulator: axp20x: fix set_ramp_delay for AXP209/dcdc2
authorPriit Laes <plaes@plaes.org>
Fri, 14 Dec 2018 20:54:07 +0000 (22:54 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 17 Dec 2018 12:26:34 +0000 (12:26 +0000)
commit918446c96595636be81a224bf663b0f4e669aad7
tree6c1bcd9c5ac3949cfbf6d954331b38e58e0428f7
parentfc401cb98a736fa010aeaf863618a904ca70ba2c
regulator: axp20x: fix set_ramp_delay for AXP209/dcdc2

Initial commit of set_ramp_delay feature was missing an assignment which
should have populated slew_rate table for dcdc2 regulator. Add it.

Fixes: d29f54df8b16 ("regulator: axp20x: add support for set_ramp_delay for AXP209")

Signed-off-by: Priit Laes <plaes@plaes.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/axp20x-regulator.c