From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Subject: Re: [PATCH] i2c: pca954x: Defer probing due to reset GPIO Date: Thu, 5 Mar 2015 09:53:53 +0100 Message-ID: <20150305085353.GS7865@pengutronix.de> References: <1425480268-7322-1-git-send-email-laurent.pinchart@ideasonboard.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <1425480268-7322-1-git-send-email-laurent.pinchart-ryLnwIuWjnjg/C1BVhZhaw@public.gmane.org> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Laurent Pinchart Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Wolfram Sang List-Id: linux-i2c@vger.kernel.org Hello, On Wed, Mar 04, 2015 at 04:44:28PM +0200, Laurent Pinchart wrote: > If a reset GPIO is specified but not available we must defer probing,= as > the device could be held in reset. Use devm_gpiod_request_optional() = to > handle this automatically. >=20 > Signed-off-by: Laurent Pinchart I sent the same patch with a slightly different motivation two weeks ago: http://article.gmane.org/gmane.linux.drivers.i2c/21972 Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig = | Industrial Linux Solutions | http://www.pengutronix.de/= |