All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Dannenberg <dannenberg-l0cyMroinI0@public.gmane.org>
To: Laurentiu Palcu
	<laurentiu.palcu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Sebastian Reichel <sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Dmitry Eremin-Solenikov
	<dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	David Woodhouse <dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
	Krzysztof Kozlowski
	<k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
	Ramakrishna Pallala
	<ramakrishna.pallala-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH v6 03/14] power: bq24257: Streamline input current limit setup
Date: Fri, 25 Sep 2015 08:52:52 -0500	[thread overview]
Message-ID: <20150925135251.GA9370@borg> (raw)
In-Reply-To: <20150925132302.GD15509@lpalcu-desk>

On Fri, Sep 25, 2015 at 04:23:03PM +0300, Laurentiu Palcu wrote:
> On Thu, Sep 24, 2015 at 10:26:47PM -0500, Andreas Dannenberg wrote:
> [...]
> > -	if (reset_iilimit) {
> > +		/* reset input current limit */
> >  		ret = bq24257_field_write(bq, F_IILIMIT, IILIMIT_500);
> >  		if (ret < 0)
> >  			goto error;
> > -	} else if (config_iilimit) {
> > -		schedule_delayed_work(&bq->iilimit_setup_work,
> > +	} else if (!old_state.power_good) {
> > +		dev_dbg(bq->dev, "Power inserted\n");
> > +		if (bq->iilimit_autoset_enable)
> iilimit_autoset_enable is introduced in patch 6. If we ever need to
> bisect this code, this patch will fail to build.

Good catch!! I want to fix this and retest/resubmit (and put in the
suggestion from your other email too). I know it's a lot of traffic but
it should be done right :)

Regards,
Andreas
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2015-09-25 13:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-25  3:26 [PATCH v6 00/14] power: bq24257: Add support for bq24250/bq24251 Andreas Dannenberg
2015-09-25  3:26 ` [PATCH v6 02/14] power: bq24257: Remove IRQ config through stat-gpios Andreas Dannenberg
2015-09-25  3:26 ` [PATCH v6 03/14] power: bq24257: Streamline input current limit setup Andreas Dannenberg
     [not found]   ` <1443151618-29742-4-git-send-email-dannenberg-l0cyMroinI0@public.gmane.org>
2015-09-25 13:23     ` Laurentiu Palcu
2015-09-25 13:52       ` Andreas Dannenberg [this message]
2015-09-25  3:26 ` [PATCH v6 05/14] power: bq24257: Add bit definition for temp sense enable Andreas Dannenberg
2015-09-25  3:26 ` [PATCH v6 06/14] power: bq24257: Allow manual setting of input current limit Andreas Dannenberg
2015-09-25  3:26 ` [PATCH v6 07/14] power: bq24257: Add SW-based approach for Power Good determination Andreas Dannenberg
2015-09-25  3:26 ` [PATCH v6 08/14] power: bq24257: Use managed power supply register Andreas Dannenberg
2015-09-25 13:43   ` Laurentiu Palcu
     [not found] ` <1443151618-29742-1-git-send-email-dannenberg-l0cyMroinI0@public.gmane.org>
2015-09-25  3:26   ` [PATCH v6 01/14] dt: power: bq24257-charger: Cover additional devices Andreas Dannenberg
2015-09-25  3:26   ` [PATCH v6 04/14] power: bq24257: Add basic support for bq24250/bq24251 Andreas Dannenberg
2015-09-25  3:26   ` [PATCH v6 09/14] power: bq24257: Add over voltage protection setting support Andreas Dannenberg
2015-09-25  3:26   ` [PATCH v6 10/14] power: bq24257: Add input DPM voltage threshold " Andreas Dannenberg
2015-09-25  3:26   ` [PATCH v6 11/14] power: bq24257: Allow input current limit sysfs access Andreas Dannenberg
2015-09-25  3:26   ` [PATCH v6 12/14] power: bq24257: Add various device-specific sysfs properties Andreas Dannenberg
2015-09-25  3:26   ` [PATCH v6 13/14] power: bq24257: Add platform data based initialization Andreas Dannenberg
2015-09-25  3:26 ` [PATCH v6 14/14] Documentation: power: bq24257: Document exported sysfs entries Andreas Dannenberg

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=20150925135251.GA9370@borg \
    --to=dannenberg-l0cymroini0@public.gmane.org \
    --cc=dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
    --cc=k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=laurentiu.palcu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ramakrishna.pallala-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=sre-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.