[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9ba184b3f4781cf68ee953b34ea67fdb678cf10f.camel@fi.rohmeurope.com>
Date: Thu, 01 Jul 2021 08:19:21 +0300
From: Matti Vaittinen <matti.vaittinen@...rohmeurope.com>
To: Axel Lin <axel.lin@...ics.com>, Mark Brown <broonie@...nel.org>
Cc: Liam Girdwood <lgirdwood@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] regulator: bd9576: Fix testing wrong flag in
check_temp_flag_mismatch
On Wed, 2021-06-23 at 23:34 +0800, Axel Lin wrote:
> Fix trivial copy-paste typo.
>
> Signed-off-by: Axel Lin <axel.lin@...ics.com>
> ---
> drivers/regulator/bd9576-regulator.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/regulator/bd9576-regulator.c
> b/drivers/regulator/bd9576-regulator.c
> index 8b54d88827be..3023069536ff 100644
> --- a/drivers/regulator/bd9576-regulator.c
> +++ b/drivers/regulator/bd9576-regulator.c
> @@ -294,9 +294,9 @@ static bool check_temp_flag_mismatch(struct
> regulator_dev *rdev, int severity,
> struct bd957x_regulator_data *r)
> {
> if ((severity == REGULATOR_SEVERITY_ERR &&
> - r->ovd_notif != REGULATOR_EVENT_OVER_TEMP) ||
> + r->temp_notif != REGULATOR_EVENT_OVER_TEMP) ||
> (severity == REGULATOR_SEVERITY_WARN &&
> - r->ovd_notif != REGULATOR_EVENT_OVER_TEMP_WARN)) {
> + r->temp_notif != REGULATOR_EVENT_OVER_TEMP_WARN)) {
> dev_warn(rdev_get_dev(rdev),
> "Can't support both thermal WARN and ERR\n");
> if (severity == REGULATOR_SEVERITY_WARN)
Once again, Thanks a lot Axel!
Reviewed-by: Matti Vaittinen <matti.vaittinen@...rohmeurope.com>
Powered by blists - more mailing lists