From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfram Sang Subject: Re: [PATCH v3] i2c-mux-gpio: Check gpio_direction_output return value Date: Wed, 27 Mar 2013 09:22:03 +0100 Message-ID: <20130327082203.GB3826@the-dreams.de> References: <20130307093553.4bc1595f@endymion.delvare> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20130307093553.4bc1595f-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jean Delvare Cc: Peter Korsgaard , Linux I2C List-Id: linux-i2c@vger.kernel.org On Thu, Mar 07, 2013 at 09:35:53AM +0100, Jean Delvare wrote: > gpio_direction_output() may fail, check for that and deal with it > appropriately. Also log an error message if gpio_request() fails. > > Signed-off-by: Jean Delvare Applied to for-next, thanks!