From: Boris Brezillon Date: Mon, 13 May 2019 08:17:34 +0000 (+0200) Subject: drm/panfrost: Add missing _fini() calls in panfrost_device_fini() X-Git-Tag: v5.2-rc1~48^2^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=197b23e9aeea04fce29b6753233fd07050bf6911;p=thirdparty%2Flinux.git drm/panfrost: Add missing _fini() calls in panfrost_device_fini() panfrost_{job,mmu,gpu,reset}_fini() were missing. Fixes: f3ba91228e8e ("drm/panfrost: Add initial panfrost driver") Signed-off-by: Boris Brezillon Reviewed-by: Steven Price Signed-off-by: Rob Herring Link: https://patchwork.freedesktop.org/patch/msgid/20190513081734.911-1-boris.brezillon@collabora.com --- diff --git a/drivers/gpu/drm/panfrost/panfrost_device.c b/drivers/gpu/drm/panfrost/panfrost_device.c index 970f669c6d293..3b2bced1b0158 100644 --- a/drivers/gpu/drm/panfrost/panfrost_device.c +++ b/drivers/gpu/drm/panfrost/panfrost_device.c @@ -165,6 +165,10 @@ err_out0: void panfrost_device_fini(struct panfrost_device *pfdev) { + panfrost_job_fini(pfdev); + panfrost_mmu_fini(pfdev); + panfrost_gpu_fini(pfdev); + panfrost_reset_fini(pfdev); panfrost_regulator_fini(pfdev); panfrost_clk_fini(pfdev); }