From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from saturn.retrosnub.co.uk ([178.18.118.26]:45034 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932811AbaHYP56 (ORCPT ); Mon, 25 Aug 2014 11:57:58 -0400 Message-ID: <53FB5D03.40509@kernel.org> Date: Mon, 25 Aug 2014 16:57:55 +0100 From: Jonathan Cameron MIME-Version: 1.0 To: Guenter Roeck , Johannes Pointner CC: linux-iio@vger.kernel.org, "lm-sensors@lm-sensors.org" Subject: Re: [PATCH] iio:inkern: fix overwritten -EPROBE_DEFER in of_iio_channel_get_by_name References: <1472905.aEm3bdqRZp@lenovobook> <53FB17A6.5000008@roeck-us.net> In-Reply-To: <53FB17A6.5000008@roeck-us.net> Content-Type: text/plain; charset=windows-1252 Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org On 25/08/14 12:01, Guenter Roeck wrote: > On 08/25/2014 01:04 AM, Johannes Pointner wrote: >> This patch fixes the overwritten -EPROBE_DEFER return value in of_iio_channel_get_by_name. >> >> Signed-off-by: Johannes Pointner > > Fixes: a2c12493ed7e ('iio: of_iio_channel_get_by_name() returns non-null pointers for error legs') > > which improperly assumes that of_iio_channel_get_by_name must always > return NULL and thus now hides -EPROBE_DEFER. > > Reviewed-by: Guenter Roeck Applied to the fixes-togreg branch of iio.git with Guenter's more specific patch description. Also marked for stable. Thanks to both of you for this fix! J > > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html