[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20220921040801.13537-1-jammy_huang@aspeedtech.com>
Date: Wed, 21 Sep 2022 12:08:01 +0800
From: Jammy Huang <jammy_huang@...eedtech.com>
To: <xinliang.liu@...aro.org>, <tiantao6@...ilicon.com>,
<john.stultz@...aro.org>, <kong.kongxinwei@...ilicon.com>,
<puck.chen@...ilicon.com>, <airlied@...ux.ie>, <daniel@...ll.ch>,
<javierm@...hat.com>, <dri-devel@...ts.freedesktop.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH] drm/hisilicon/kirin: Fix typo in kirin_drm_drv.c
'config_max_height' should be used for 'max_height'.
Signed-off-by: Jammy Huang <jammy_huang@...eedtech.com>
---
drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c
index 2af51df6dca7..b23ad03157e1 100644
--- a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c
+++ b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c
@@ -165,7 +165,7 @@ static int kirin_drm_kms_init(struct drm_device *dev,
dev->mode_config.min_width = 0;
dev->mode_config.min_height = 0;
dev->mode_config.max_width = driver_data->config_max_width;
- dev->mode_config.max_height = driver_data->config_max_width;
+ dev->mode_config.max_height = driver_data->config_max_height;
dev->mode_config.funcs = driver_data->mode_config_funcs;
/* display controller init */
--
2.25.1
Powered by blists - more mailing lists