Christophe JAILLET 59e04bc20d gpu: host1x: Fix error handling
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@wanadoo.fr>
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170410202922.17665-1-christophe.jaillet@wanadoo.fr
2017-06-15 14:06:49 +02:00
..
2017-04-05 18:11:43 +02:00
2017-04-05 18:11:50 +02:00
2017-04-05 18:11:43 +02:00
2017-04-05 18:11:43 +02:00
2013-04-22 12:32:46 +02:00
2017-06-15 14:06:49 +02:00
2017-04-05 18:11:50 +02:00
2017-04-05 18:11:43 +02:00
2017-04-05 18:11:43 +02:00
2017-05-18 10:41:28 -04:00
2015-12-14 10:50:33 +01:00