drm/nouveau/core: fix return in error path of device probe
authorAlexandre Courbot <acourbot@nvidia.com>
Mon, 26 Oct 2015 05:55:37 +0000 (14:55 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 11 Jan 2016 01:17:40 +0000 (11:17 +1000)
commit1299b6377b099bc4348d955930ebe1f0ee5ccc46
tree9ff48b324471f15004ffedb9694fe7dc4ba77f78
parent1a0c96c075bb4517d4ce4fb6750ee0a3cf38714c
drm/nouveau/core: fix return in error path of device probe

We want to unlock nv_devices_mutex in this error path as well.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c