Re: [PATCH] w1: omap_hdq: Free resources on error path

2017-01-23 Thread Evgeniy Polyakov
Hi Christophe 09.01.2017, 03:13, "Christophe JAILLET" : > In case of error returned by '_omap_hdq_reset()', free resources as done > elsewhere in this function. > > This patch slighly changes the semantic of the code. It now propagates the > error code returned by '_omap_hdq_reset()' instead of re

[PATCH] w1: omap_hdq: Free resources on error path

2017-01-08 Thread Christophe JAILLET
In case of error returned by '_omap_hdq_reset()', free resources as done elsewhere in this function. This patch slighly changes the semantic of the code. It now propagates the error code returned by '_omap_hdq_reset()' instead of returning -EINVAL unconditionally. Signed-off-by: Christophe JAILLE