remarkable-linux/drivers/gpu/host1x
Thierry Reding b0d36daa0a gpu: host1x: Fix host1x driver shutdown
Shutting down a host1x device currently crashes if the device has failed
to probe. The root cause is that the host1x shutdown is implemented as a
struct bus_type callback, but in turn relies on the driver bound to the
device. On failure to probe, no driver will be bound and cause the code
to crash.

Fix this by moving the ->probe(), ->remove() and ->shutdown() callbacks
to the driver rather than the bus.

Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-04-05 18:11:50 +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 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: Add IOMMU support 2017-04-05 18:11:43 +02:00
channel.c gpu: host1x: channel: Use correct type 2016-06-23 11:59:26 +02:00
channel.h gpu: host1x: Expose syncpt and channel functionality 2013-10-31 09:20:11 +01:00
debug.c gpu: host1x: Whitespace cleanup for readability 2016-06-23 11:59:30 +02:00
debug.h gpu: host1x: Add debug support 2013-04-22 12:32:46 +02:00
dev.c gpu: host1x: Support module reset 2017-04-05 18:11:50 +02:00
dev.h gpu: host1x: Support module reset 2017-04-05 18:11:50 +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: 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: Increase compile test coverage 2013-12-19 09:29:51 +01:00
Makefile gpu: host1x: Add Tegra210 support 2015-12-14 10:50:33 +01:00
mipi.c drm/tegra: dsi: Enhance runtime power management 2016-08-24 15:58:57 +02:00
syncpt.c gpu: host1x: Fix potential out-of-bounds access 2017-04-04 19:18:47 +02:00
syncpt.h gpu: host1x: Use unsigned int consistently for IDs 2016-06-23 11:59:24 +02:00