Re: [PATCH] iio:inkern: fix overwritten -EPROBE_DEFER in of_iio_channel_get_by_name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <johannes.pointner@xxxxxxxxxxxxxxxxx>
> 
> 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 <linux@xxxxxxxxxxxx>
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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux