Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp286356rwe; Wed, 24 Aug 2022 00:30:34 -0700 (PDT) X-Google-Smtp-Source: AA6agR5I6hoKxUOFbC+fZfU89tplOYAeGAT2C1dSFH2Gk3hurl5DPmZolG2GeCcXWvHFymndRuU8 X-Received: by 2002:a05:6402:524c:b0:43e:aba4:a42d with SMTP id t12-20020a056402524c00b0043eaba4a42dmr6589809edd.328.1661326234242; Wed, 24 Aug 2022 00:30:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661326234; cv=none; d=google.com; s=arc-20160816; b=lqZL86scXZEZs87X8bKOC5tWSP4bKh5igXTfB9RQEGcqHrnKb8hY0ehT67ZPwkxyFl A0pqZcEfvAvhkXtKO3wfs5OtafSlySfCqP1lmOtx78Ndok9v6e5etHpi/xjE7NzvxO6M KF7T3nTv4yJaoLLOzL9vEQbPsd0UoRopLGQV75H93VvBWbpDDJQQ9u/5MAQ52HtFx66x H9/x6dVVMQCSIXMWIb9HJjLEu4WUm4Rg6t2eT641OPebwqBbaqPM1rYFmaRqlYj2qkN3 PDRajfwupzjouTX7jV2ogW2sGr52nUqbye2mPPpaciAwXHJIziZmj/zqylBb+3XmJXiy 5FLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from; bh=kTYviNtS6/BNplpV0W0NvaK+0k+1xjzMlFWJ0soh4pA=; b=PQr3+RL86ZmByuYkCq/hbplRhxnyX5VT+G9oya2Xl08YbKn1WKzfSH8KZ+VItR657S PtYx5naleHnoxRRJMF3vjuxWyMNInAuZbloeRFxJ2MvkWISeSgTMrw2dIdBtAEexX0N5 wOi6cPXzU+PQ/lMvmtQK19Mnnnk3tkd1vQK7eYTWhiAQo/8AFdfMjZT0kphiIpx7XEbU jmy3wWoz9mXbL6r+vW037cf9bcTxjwzWnHdbryx+BEsTfi7VXDtZlG9J+1Kw59xjI/Vm kN1A0zXCeIYRDzROG4nnjHj7tpRQ8MItCYN7auov+3YZAEtHnh+f30Cc3qh7umUiucvl jzRA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gt12-20020a1709072d8c00b0073d6b849d4fsi1486221ejc.731.2022.08.24.00.30.08; Wed, 24 Aug 2022 00:30:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234728AbiHXH1L (ORCPT + 99 others); Wed, 24 Aug 2022 03:27:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230441AbiHXH1K (ORCPT ); Wed, 24 Aug 2022 03:27:10 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F39196557D for ; Wed, 24 Aug 2022 00:27:06 -0700 (PDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 27O77gKo010833; Wed, 24 Aug 2022 15:07:42 +0800 (GMT-8) (envelope-from jammy_huang@aspeedtech.com) Received: from JammyHuang-PC.aspeed.com (192.168.2.115) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 24 Aug 2022 15:26:57 +0800 From: Jammy Huang To: , , , , , , , , , , Subject: [PATCH] drm/hisilicon/kirin: Fix typo in kirin_drm_drv.c Date: Wed, 24 Aug 2022 15:26:54 +0800 Message-ID: <20220824072654.1368-1-jammy_huang@aspeedtech.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [192.168.2.115] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 27O77gKo010833 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 'config_max_height' should be used for 'max_height'. Signed-off-by: Jammy Huang --- 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