Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1497165

Re: [patch 17/32] greybus: power supply driver

From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject Re: [patch 17/32] greybus: power supply driver
Date 2016-10-07 15:50 +0200
Message-ID <spDHc-161-21@gated-at.bofh.it> (permalink)
References <shfsm-830-21@gated-at.bofh.it> <shV8d-14L-5@gated-at.bofh.it> <si29H-5Pq-31@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Fri 2016-09-16 16:10:58, Greg KH wrote:
> 
> This driver implements the Greybus power supply class protocol.

Probably

POWER SUPPLY CLASS/SUBSYSTEM and DRIVERS
M:      Sebastian Reichel <sre@kernel.org>
M:      Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
M:      David Woodhouse <dwmw2@infradead.org>
L:      linux-pm@vger.kernel.org

should be cc-ed?

> +static int is_cache_valid(struct gb_power_supply *gbpsy)
> +{
...
> +	if (gbpsy->last_update &&
> +	    time_is_after_jiffies(gbpsy->last_update +
> +				  msecs_to_jiffies(cache_time)))
> +		return 1;

Are you sure?
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [patch 17/32] greybus: power supply driver Pavel Machek <pavel@ucw.cz> - 2016-10-07 15:50 +0200
  Re: [patch 17/32] greybus: power supply driver Greg KH <gregkh@linuxfoundation.org> - 2016-10-07 16:20 +0200
    Re: [patch 17/32] greybus: power supply driver Pavel Machek <pavel@ucw.cz> - 2016-10-07 20:20 +0200

csiph-web