From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Peter Korsgaard" Subject: Re: [PATCH v3] i2c-mux-gpio: Check gpio_direction_output return value Date: Thu, 07 Mar 2013 09:45:40 +0100 Message-ID: <87obevvbrf.fsf@thor.barco.com> References: <20130307093553.4bc1595f@endymion.delvare> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Class: urn:content-classes:message In-Reply-To: <20130307093553.4bc1595f-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org> (Jean Delvare'smessage of "Thu, 7 Mar 2013 09:35:53 +0100") Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jean Delvare Cc: Wolfram Sang , Linux I2C List-Id: linux-i2c@vger.kernel.org >>>>> "JD" == Jean Delvare writes: JD> gpio_direction_output() may fail, check for that and deal with it JD> appropriately. Also log an error message if gpio_request() fails. JD> Signed-off-by: Jean Delvare JD> Cc: Peter Korsgaard JD> Cc: Wolfram Sang Acked-by: Peter Korsgaard -- Sorry about disclaimer - It's out of my control. Bye, Peter Korsgaard DISCLAIMER: Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.