summaryrefslogtreecommitdiff
path: root/crypto/algif_hash.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2017-03-22 19:15:18 +0100
committerThierry Reding <treding@nvidia.com>2017-04-05 18:11:50 +0200
commitb0d36daa0ab54714e05164f6e21d22f974a5eec1 (patch)
tree9afb540bbe407ca6e5b1e74dab1db3a9418644bf /crypto/algif_hash.c
parentb386c6b73ac6c2a9a2f1201d055ab65cc19890a2 (diff)
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>
Diffstat (limited to 'crypto/algif_hash.c')
0 files changed, 0 insertions, 0 deletions