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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090723183451.GI13236@buzzloop.caiaq.de>
Date:	Thu, 23 Jul 2009 20:34:51 +0200
From:	Daniel Mack <daniel@...aq.de>
To:	Anton Vorontsov <avorontsov@...mvista.com>
Cc:	linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
	Ian Molton <spyro@....com>, Anton Vorontsov <cbou@...l.ru>,
	Matt Reimer <mreimer@...p.net>
Subject: Re: [PATCH 1/3] pda-power: add set_charged functionaltity

On Wed, Jul 22, 2009 at 09:41:11PM +0400, Anton Vorontsov wrote:
> On Wed, Jul 22, 2009 at 07:20:45PM +0200, Daniel Mack wrote:
> > What about something like the patch below?
> > 
> > The platform code interface would look like
> > 
> > 	struct power_supply *psy =
> > 		power_support_get_by_name("ds2760.0");
> > 	if (psy)
> > 		power_supply_set_battery_charged(psy);
> > 
> > Couldn't test it yet as my hardware is missing, but I would still like
> > to hear your comments about it :)
> 
> Wow, looks perfect. Let me know when you test it, and I'll
> apply that patch.

That seems to work well. I'm still resending the last two remaining
patches as a follow-up to this one - the changelog had a typo.

Thanks,
Daniel

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ