lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200413230050.e2litrlcvbs6hpar@earth.universe>
Date:   Tue, 14 Apr 2020 01:00:50 +0200
From:   Sebastian Reichel <sebastian.reichel@...labora.com>
To:     Hans de Goede <hdegoede@...hat.com>
Cc:     rafirafi <rafirafi.at@...il.com>, Chen-Yu Tsai <wens@...e.org>,
        linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] power: supply: axp288_fuel_gauge: Add the Meegopad T02
 to the blacklist.

Hi,

On Mon, Apr 06, 2020 at 05:44:04PM +0200, Hans de Goede wrote:
> Hi,
> 
> On 4/6/20 4:05 PM, rafirafi wrote:
> > From: Rafael Gandolfi <rafirafi.at@...il.com>
> > 
> >      The Meegopad T02 is a PC in stick format and doesn't have a battery,
> >      it is reported with a random and constant battery charge but as
> >      discharging to userspace.
> > 
> >      Add it to the blacklist to avoid the bogus battery status reporting.
> > 
> > Signed-off-by: Rafael Gandolfi <rafirafi.at@...il.com>
> 
> Patch looks good to me:
> 
> Reviewed-by: Hans de Goede <hdegoede@...hat.com>

Thanks, queued.

-- Sebastian

> > ---
> >   drivers/power/supply/axp288_fuel_gauge.c | 6 ++++++
> >   1 file changed, 6 insertions(+)
> > 
> > diff --git a/drivers/power/supply/axp288_fuel_gauge.c b/drivers/power/supply/axp288_fuel_gauge.c
> > index e1bc4e6e6f30..0bc548865a61 100644
> > --- a/drivers/power/supply/axp288_fuel_gauge.c
> > +++ b/drivers/power/supply/axp288_fuel_gauge.c
> > @@ -717,6 +717,12 @@ static const struct dmi_system_id axp288_fuel_gauge_blacklist[] = {
> >   			DMI_MATCH(DMI_PRODUCT_NAME, "STK1A32SC"),
> >   		},
> >   	},
> > +	{
> > +		/* Meegopad T02 */
> > +		.matches = {
> > +			DMI_MATCH(DMI_PRODUCT_NAME, "MEEGOPAD T02"),
> > +		},
> > +	},
> >   	{
> >   		/* Meegopad T08 */
> >   		.matches = {
> > 
> 

Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ