VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   34 Branches   58 Tags
author: Zhen Lei <thunder.leizhen@huawei.com> 2021-05-13 21:46:38 +0800 committer: Anitha Chrisanthus <anitha.chrisanthus@intel.com> 2021-06-22 10:33:49 -0700 commit: 6fd8f323b3e4e5290d02174559308669507c00dd parent: 8ddf5b9bb479570a3825d70fecfb9399bc15700c
Commit Summary:
drm/kmb: Fix error return code in kmb_hw_init()
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/drivers/gpu/drm/kmb/kmb_drv.c b/drivers/gpu/drm/kmb/kmb_drv.c
index f64e06e1067d..96ea1a2c11dd 100644
--- a/drivers/gpu/drm/kmb/kmb_drv.c
+++ b/drivers/gpu/drm/kmb/kmb_drv.c
@@ -137,6 +137,7 @@ static int kmb_hw_init(struct drm_device *drm, unsigned long flags)
 	/* Allocate LCD interrupt resources */
 	irq_lcd = platform_get_irq(pdev, 0);
 	if (irq_lcd < 0) {
+		ret = irq_lcd;
 		drm_err(&kmb->drm, "irq_lcd not found");
 		goto setup_fail;
 	}