Message ID | 20220824072654.1368-1-jammy_huang@aspeedtech.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/hisilicon/kirin: Fix typo in kirin_drm_drv.c | expand |
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 */
'config_max_height' should be used for 'max_height'. Signed-off-by: Jammy Huang <jammy_huang@aspeedtech.com> --- drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)