regulator: rn5t618: fix rc5t619 ldo10 enable
authorAndreas Kemnade <andreas@kemnade.info>
Wed, 13 Nov 2019 18:26:43 +0000 (19:26 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 19 Nov 2019 18:24:18 +0000 (18:24 +0000)
commit3f1a9e630b6e124c387cc57f6fea517cec68b44f
treee667824157389241c6d65302564ce876f7cf97eb
parentb59b654478093fa429ad4c7897ae29f201146a00
regulator: rn5t618: fix rc5t619 ldo10 enable

LDO9 and LDO10 were listed with the same enable bits.
That looks insane and there are no provisions in the code for handling such
a special case. Also other out-of-tree drivers use a separate bit to
enable it.
Example:
https://github.com/brunotl/kernel-kobo-mx6sl-ntx/blob/master/drivers/regulator/ricoh619-regulator.c
So it seems to be clearly a bug.
I cannot fully check it on my board without schematics and just discovered
this during code analysis for another problem.

Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
Link: https://lore.kernel.org/r/20191113182643.23885-1-andreas@kemnade.info
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rn5t618-regulator.c