Re: [PATCH] gpu: host1x: Fix error handling

2017-06-15 Thread Thierry Reding
On Mon, Apr 10, 2017 at 10:29:22PM +0200, Christophe JAILLET wrote: > If 'devm_reset_control_get' returns an error, then we erroneously return > success because error code is taken from 'host->clk' instead of > 'host->rst'. > > Fixes: b386c6b73ac6 ("gpu: host1x: Support module reset") > >

Re: [PATCH] gpu: host1x: Fix error handling

2017-06-15 Thread Thierry Reding
On Mon, Apr 10, 2017 at 10:29:22PM +0200, Christophe JAILLET wrote: > If 'devm_reset_control_get' returns an error, then we erroneously return > success because error code is taken from 'host->clk' instead of > 'host->rst'. > > Fixes: b386c6b73ac6 ("gpu: host1x: Support module reset") > >

Re: [PATCH] gpu: host1x: Fix error handling

2017-04-11 Thread Mikko Perttunen
On 10.04.2017 23:29, Christophe JAILLET wrote: If 'devm_reset_control_get' returns an error, then we erroneously return success because error code is taken from 'host->clk' instead of 'host->rst'. Fixes: b386c6b73ac6 ("gpu: host1x: Support module reset") Signed-off-by: Christophe JAILLET

Re: [PATCH] gpu: host1x: Fix error handling

2017-04-11 Thread Mikko Perttunen
On 10.04.2017 23:29, Christophe JAILLET wrote: If 'devm_reset_control_get' returns an error, then we erroneously return success because error code is taken from 'host->clk' instead of 'host->rst'. Fixes: b386c6b73ac6 ("gpu: host1x: Support module reset") Signed-off-by: Christophe JAILLET ---

[PATCH] gpu: host1x: Fix error handling

2017-04-10 Thread Christophe JAILLET
If 'devm_reset_control_get' returns an error, then we erroneously return success because error code is taken from 'host->clk' instead of 'host->rst'. Fixes: b386c6b73ac6 ("gpu: host1x: Support module reset") Signed-off-by: Christophe JAILLET ---

[PATCH] gpu: host1x: Fix error handling

2017-04-10 Thread Christophe JAILLET
If 'devm_reset_control_get' returns an error, then we erroneously return success because error code is taken from 'host->clk' instead of 'host->rst'. Fixes: b386c6b73ac6 ("gpu: host1x: Support module reset") Signed-off-by: Christophe JAILLET --- drivers/gpu/host1x/dev.c | 2 +- 1 file