summaryrefslogtreecommitdiff
path: root/drivers/regulator/dummy.c
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2017-04-10 22:29:22 +0200
committerThierry Reding <treding@nvidia.com>2017-06-15 14:06:49 +0200
commit59e04bc20de4bd1bd5bfa810bf04a4e50a27b9c1 (patch)
tree95169cb4d749ad75fe26dc37b2af4f9dd32604e6 /drivers/regulator/dummy.c
parentd758619ba6a5d250914b06b2b923a65e48bdd002 (diff)
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/regulator/dummy.c')
0 files changed, 0 insertions, 0 deletions