From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 5/6] power: bq24190_charger: Check the interrupt status on resume Date: Thu, 12 Jan 2017 07:49:39 -0800 Message-ID: <20170112154938.GE2630@atomide.com> References: <20170112004154.31568-1-tony@atomide.com> <20170112004154.31568-6-tony@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-pm-owner@vger.kernel.org To: Liam Breck Cc: Sebastian Reichel , "Mark A . Greer" , linux-pm@vger.kernel.org, linux-omap@vger.kernel.org, Matt Ranostay , Liam Breck List-Id: linux-omap@vger.kernel.org * Liam Breck [170111 18:06]: > > @@ -1404,6 +1410,7 @@ static int bq24190_probe(struct i2c_client *client, > > } > > > > enable_irq(bdi->irq); > > + bdi->initialized = 1; > > Should initialized be set before enable_irq()? Yes good catch will check. Thanks, Tony