diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2017-04-10 22:29:22 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2017-06-15 14:06:49 +0200 |
commit | 59e04bc20de4bd1bd5bfa810bf04a4e50a27b9c1 (patch) | |
tree | 95169cb4d749ad75fe26dc37b2af4f9dd32604e6 /drivers/gpu/drm/tegra/drm.c | |
parent | drm: dw-hdmi: Fix compilation breakage by selecting REGMAP_MMIO (diff) | |
download | linux-59e04bc20de4bd1bd5bfa810bf04a4e50a27b9c1.tar.xz linux-59e04bc20de4bd1bd5bfa810bf04a4e50a27b9c1.zip |
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
Diffstat (limited to 'drivers/gpu/drm/tegra/drm.c')
0 files changed, 0 insertions, 0 deletions