]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: da9063: fix LDO9 suspend and warning.
authorMartin Fuzzey <martin.fuzzey@flowbird.group>
Fri, 12 Jun 2020 10:50:33 +0000 (12:50 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 12 Jun 2020 13:57:17 +0000 (14:57 +0100)
commitca7eb03fe3488780536bb2b9ebd4577af7708e7b
treeeb497a2f7cc51329766c2fec65062c77546495f1
parentce0b78d6995a314149b5840877df45ed38acbe88
regulator: da9063: fix LDO9 suspend and warning.

Commit d5337d0480e0 ("regulator: da9063: fix suspend") converted
the regulators to use a common (corrected) suspend bit setting but
one of regulators (LDO9) slipped through the crack.

This means that the original problem was not fixed for LDO9 and
also leads to a warning found by the test robot.
da9063-regulator.c:515:3: warning: initialized field overwritten

Fix this by converting that regulator too like the others.

Fixes: d5337d0480e0 ("regulator: da9063: fix suspend")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Martin Fuzzey <martin.fuzzey@flowbird.group>
Link: https://lore.kernel.org/r/1591959073-16792-1-git-send-email-martin.fuzzey@flowbird.group
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/da9063-regulator.c