linux/drivers/gpu/host1x
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: b386c6b73a ("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
..
hw gpu: host1x: Add IOMMU support 2017-04-05 18:11:43 +02:00
bus.c gpu: host1x: Fix host1x driver shutdown 2017-04-05 18:11:50 +02:00
bus.h
cdma.c gpu: host1x: Add IOMMU support 2017-04-05 18:11:43 +02:00
cdma.h gpu: host1x: Add IOMMU support 2017-04-05 18:11:43 +02:00
channel.c
channel.h
debug.c
debug.h
dev.c gpu: host1x: Fix error handling 2017-06-15 14:06:49 +02:00
dev.h gpu: host1x: Support module reset 2017-04-05 18:11:50 +02:00
intr.c
intr.h
job.c gpu: host1x: Add IOMMU support 2017-04-05 18:11:43 +02:00
job.h gpu: host1x: Add IOMMU support 2017-04-05 18:11:43 +02:00
Kconfig gpu: host1x: select IOMMU_IOVA 2017-05-18 10:41:28 -04:00
Makefile
mipi.c
syncpt.c gpu: host1x: Fix potential out-of-bounds access 2017-04-04 19:18:47 +02:00
syncpt.h