]> git.itanic.dy.fi Git - linux-stable/commit
drm/imagination: Fix error codes in pvr_device_clk_init()
authorDan Carpenter <dan.carpenter@linaro.org>
Thu, 30 Nov 2023 07:26:29 +0000 (10:26 +0300)
committerMaxime Ripard <mripard@kernel.org>
Thu, 30 Nov 2023 08:16:05 +0000 (09:16 +0100)
commit03219a3aa6c89f1cbb6624907f32d6939a1ffeb0
tree34b291bd17bbb578b08d413eaf215871e593bc6f
parentb101d08451de6eaebd1a840e4885ce7ce73656ad
drm/imagination: Fix error codes in pvr_device_clk_init()

There is a cut and paste error so this code returns the wrong variable.

Fixes: 1f88f017e649 ("drm/imagination: Get GPU resources")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1649c66b-3eea-40d2-9687-592124f968cf@moroto.mountain
drivers/gpu/drm/imagination/pvr_device.c