Re: [PATCH v2] regulator: max14577: Fix invalid return value on DT parse success

2014-02-21 Thread Mark Brown
On Fri, Feb 21, 2014 at 01:12:38PM +0100, Krzysztof Kozlowski wrote: > This fixes bug introduced in 667a6b7a (regulator: max14577: Add missing > of_node_put). The DTS parsing function returned number of matched > regulators as success status which then was compared against 0 in probe. Applied, tha

Re: [PATCH v2] regulator: max14577: Fix invalid return value on DT parse success

2014-02-21 Thread Sachin Kamat
On 21 February 2014 17:42, Krzysztof Kozlowski wrote: > This fixes bug introduced in 667a6b7a (regulator: max14577: Add missing > of_node_put). The DTS parsing function returned number of matched > regulators as success status which then was compared against 0 in probe. > > Result was a probe fail

[PATCH v2] regulator: max14577: Fix invalid return value on DT parse success

2014-02-21 Thread Krzysztof Kozlowski
This fixes bug introduced in 667a6b7a (regulator: max14577: Add missing of_node_put). The DTS parsing function returned number of matched regulators as success status which then was compared against 0 in probe. Result was a probe fail after successful parsing the DTS: max14577-regulator: probe of