[PATCH] gpu: host1x: Fix error handling

Thierry Reding thierry.reding at gmail.com
Thu Jun 15 12:07:24 UTC 2017


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")
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet at wanadoo.fr>
> ---
>  drivers/gpu/host1x/dev.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to drm-misc-fixes, thanks.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170615/5e6c6598/attachment.sig>


More information about the dri-devel mailing list