[PATCH] drm/hisilicon/kirin: Fix typo in kirin_drm_drv.c

From: Jammy Huang
Date: Wed Aug 24 2022 - 03:27:13 EST


'config_max_height' should be used for 'max_height'.

Signed-off-by: Jammy Huang <jammy_huang@xxxxxxxxxxxxxx>
---
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