Re: [PATCH 2/4] w1: omap-hdq: fix return value to be -1 if there is a timeout

From: Tony Lindgren
Date: Sat May 23 2020 - 14:11:50 EST


* H. Nikolaus Schaller <hns@xxxxxxxxxxxxx> [200523 17:34]:
> The code accidentially overwrites the variable ret and not val,
> which is returned. So it will return the initial value 0 instead
> of -1.

Oops, sorry about causing this. And thanks for catching it:

Acked-by: Tony Lindgren <tony@xxxxxxxxxxx>