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)
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


Trivial merge