mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Angus Ainslie <angus@akkea.ca>
To: Sebastian Reichel <sebastian.reichel@collabora.com>
Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@puri.sm
Subject: Re: [PATCH] power: bq25890: temperature is also an adc value
Date: Mon, 15 Nov 2021 07:48:10 -0800	[thread overview]
Message-ID: <691151b347c64939bc0c407e8bf8bd75@akkea.ca> (raw)
In-Reply-To: <20211115152221.izjh36qlmlw5mbf6@earth.universe>

On 2021-11-15 07:22, Sebastian Reichel wrote:
> Hi,
> 
> On Tue, Nov 09, 2021 at 04:24:40PM -0800, Angus Ainslie wrote:
>> Make sure that a conversion is forced when the power supply is offline 
>> so
>> the temperature is valid.
>> 
>> Signed-off-by: Angus Ainslie <angus@akkea.ca>
>> ---
> 
> Thanks, queued to power-supply's fixes branch.
> 
> -- Sebastian
> 

Thanks !

Angus

>>  drivers/power/supply/bq25890_charger.c | 1 +
>>  1 file changed, 1 insertion(+)
>> 
>> diff --git a/drivers/power/supply/bq25890_charger.c 
>> b/drivers/power/supply/bq25890_charger.c
>> index 945c3257ca93..23a91c5d1f9d 100644
>> --- a/drivers/power/supply/bq25890_charger.c
>> +++ b/drivers/power/supply/bq25890_charger.c
>> @@ -388,6 +388,7 @@ static bool bq25890_is_adc_property(enum 
>> power_supply_property psp)
>>  	switch (psp) {
>>  	case POWER_SUPPLY_PROP_VOLTAGE_NOW:
>>  	case POWER_SUPPLY_PROP_CURRENT_NOW:
>> +	case POWER_SUPPLY_PROP_TEMP:
>>  		return true;
>> 
>>  	default:
>> --
>> 2.25.1
>> 

      reply	other threads:[~2021-11-15 15:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-10  0:24 Angus Ainslie
2021-11-15 15:22 ` Sebastian Reichel
2021-11-15 15:48   ` Angus Ainslie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=691151b347c64939bc0c407e8bf8bd75@akkea.ca \
    --to=angus@akkea.ca \
    --cc=kernel@puri.sm \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=sebastian.reichel@collabora.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®