]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2934d958d59b3e2c6269b080c1e55ef9a5745a60
treead45d40183212d4ee9cec175a32515f339c087ed
parentcfe0f0cc96dfe7629acaae080cc378307ff61fc8
parenta9e5a7fe2d48628597fc45cb9b0226b40928cf8a
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