Merge series "regulator: fan53555: tcs4525 fix and cleanup" from Peter Geis <pgwipeou...
authorMark Brown <broonie@kernel.org>
Wed, 12 May 2021 15:22:53 +0000 (16:22 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 12 May 2021 15:22:53 +0000 (16:22 +0100)
commitadf1471b2f7636362718cec42cf11599cced9733
treead45d40183212d4ee9cec175a32515f339c087ed
parent3d681804efcb6e5d8089a433402e19179347d7ae
parentf8c8871f5eff3981eeb13421aca2c1cfda4a5204
Merge series "regulator: fan53555: tcs4525 fix and cleanup" from Peter Geis <pgwipeout@gmail.com>:

The tcs4525 voltage calculation is incorrect, which leads to a deadlock
on the rk3566-quartz64 board when loading cpufreq.
Fix the voltage calculation to correct the deadlock.
While we are at it, add a safety check and clean up the function names
to be more accurate.

Peter Geis (3):
  regulator: fan53555: fix TCS4525 voltage calulation
  regulator: fan53555: only bind tcs4525 to correct chip id
  regulator: fan53555: fix tcs4525 function names

 drivers/regulator/fan53555.c | 44 ++++++++++++++++++++++--------------
 1 file changed, 27 insertions(+), 17 deletions(-)

--
2.25.1