search for: 8ef0ae854038

Displaying 2 results from an estimated 2 matches for "8ef0ae854038".

2016 Jan 25
4
[PATCH] device: call nvkm_device_fini if nvkm_device_init fails
...in nvkm_device_init's failure path. Signed-off-by: Alexandre Courbot <acourbot at nvidia.com> --- drm/nouveau/nvkm/engine/device/base.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drm/nouveau/nvkm/engine/device/base.c b/drm/nouveau/nvkm/engine/device/base.c index b1ba1c782a2b..8ef0ae854038 100644 --- a/drm/nouveau/nvkm/engine/device/base.c +++ b/drm/nouveau/nvkm/engine/device/base.c @@ -2261,6 +2261,8 @@ fail_subdev: } while (--i >= 0); fail: + nvkm_device_fini(device, false); + nvdev_error(device, "init failed with %d\n", ret); return ret; } -- 2.7.0
2016 Jan 25
0
[PATCH] device: call nvkm_device_fini if nvkm_device_init fails
.... > > Signed-off-by: Alexandre Courbot <acourbot at nvidia.com> > --- > drm/nouveau/nvkm/engine/device/base.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drm/nouveau/nvkm/engine/device/base.c b/drm/nouveau/nvkm/engine/device/base.c > index b1ba1c782a2b..8ef0ae854038 100644 > --- a/drm/nouveau/nvkm/engine/device/base.c > +++ b/drm/nouveau/nvkm/engine/device/base.c > @@ -2261,6 +2261,8 @@ fail_subdev: > } while (--i >= 0); > > fail: > + nvkm_device_fini(device, false); > + > nvdev_error(device, "init fail...