[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <174222486420.175368.1264786366288548105.b4-ty@collabora.com>
Date: Mon, 17 Mar 2025 16:21:04 +0100
From: Sebastian Reichel <sebastian.reichel@...labora.com>
To: Krzysztof Kozlowski <krzk@...nel.org>,
Sebastian Reichel <sre@...nel.org>, Artur Weber <aweber.kernel@...il.com>
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
~postmarketos/upstreaming@...ts.sr.ht
Subject: Re: [PATCH] power: supply: max77693: Fix wrong conversion of
charge input threshold value
On Sun, 16 Mar 2025 21:11:49 +0100, Artur Weber wrote:
> The charge input threshold voltage register on the MAX77693 PMIC accepts
> four values: 0x0 for 4.3v, 0x1 for 4.7v, 0x2 for 4.8v and 0x3 for 4.9v.
> Due to an oversight, the driver calculated the values for 4.7v and above
> starting from 0x0, rather than from 0x1 ([(4700000 - 4700000) / 100000]
> gives 0).
>
> Add 1 to the calculation to ensure that 4.7v is converted to a register
> value of 0x1 and that the other two voltages are converted correctly as
> well.
>
> [...]
Applied, thanks!
[1/1] power: supply: max77693: Fix wrong conversion of charge input threshold value
commit: 30cc7b0d0e9341d419eb7da15fb5c22406dbe499
Best regards,
--
Sebastian Reichel <sebastian.reichel@...labora.com>
Powered by blists - more mailing lists