linux_old1/drivers/gpu/host1x
Gustavo A. R. Silva 7b2c63de20 gpu: host1x: fix error return code in host1x_probe()
platform_get_irq() returns an error code, but the host1x driver
ignores it and always returns -ENXIO. This is not correct and,
prevents -EPROBE_DEFER from being propagated properly.

Notice that platform_get_irq() no longer returns 0 on error:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e330b9a6bb35dc7097a4f02cb1ae7b6f96df92af

Print and propagate the return value of platform_get_irq on failure.

This issue was detected with the help of Coccinelle.

Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-08-17 17:57:07 +02:00
..
hw gpu: host1x: Fix bitshift/mask multipliers 2017-08-17 17:57:06 +02:00
Kconfig gpu: host1x: select IOMMU_IOVA 2017-05-18 10:41:28 -04:00
Makefile gpu: host1x: Add Tegra210 support 2015-12-14 10:50:33 +01:00
bus.c gpu: host1x: Flesh out kerneldoc 2017-06-15 13:58:43 +02:00
bus.h gpu: host1x: Provide a proper struct bus_type 2015-01-27 10:09:14 +01:00
cdma.c gpu: host1x: Add IOMMU support 2017-04-05 18:11:43 +02:00
cdma.h gpu: host1x: Remove unused host1x_cdma_stop() definition 2017-06-15 14:25:18 +02:00
channel.c gpu: host1x: Refactor channel allocation code 2017-06-15 14:25:38 +02:00
channel.h gpu: host1x: Refactor channel allocation code 2017-06-15 14:25:38 +02:00
debug.c gpu: host1x: Refactor channel allocation code 2017-06-15 14:25:38 +02:00
debug.h gpu: host1x: Add debug support 2013-04-22 12:32:46 +02:00
dev.c gpu: host1x: fix error return code in host1x_probe() 2017-08-17 17:57:07 +02:00
dev.h gpu: host1x: Refactor channel allocation code 2017-06-15 14:25:38 +02:00
intr.c gpu: host1x: Constify array of action handlers 2016-06-23 11:59:31 +02:00
intr.h gpu: host1x: Use unsigned int consistently for IDs 2016-06-23 11:59:24 +02:00
job.c gpu: host1x: Don't fail on NULL bo physical address 2017-08-17 17:57:06 +02:00
job.h gpu: host1x: Remove unused 'struct host1x_cmdbuf' 2017-06-15 14:24:59 +02:00
mipi.c drm/tegra: dsi: Enhance runtime power management 2016-08-24 15:58:57 +02:00
syncpt.c gpu: host1x: Flesh out kerneldoc 2017-06-15 13:58:43 +02:00
syncpt.h gpu: host1x: Use unsigned int consistently for IDs 2016-06-23 11:59:24 +02:00