From patchwork Thu Jun 3 07:47:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: lijian_8010a29@163.com X-Patchwork-Id: 12296567 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CAE2CC47082 for ; Thu, 3 Jun 2021 07:48:34 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9843E613D6 for ; Thu, 3 Jun 2021 07:48:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9843E613D6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=163.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 138366F418; Thu, 3 Jun 2021 07:48:34 +0000 (UTC) Received: from m12-11.163.com (m12-11.163.com [220.181.12.11]) by gabe.freedesktop.org (Postfix) with ESMTP id 37FA46F41C for ; Thu, 3 Jun 2021 07:48:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=RnDVz AbO2cRJX+sWSzS+CpFRQSn/Oab2RiyOduZeFgU=; b=AgVkuWvuNfM0LQxunabmt 7qeFD2MH8AZfOZrKJqbiEq54G5YmBP+f1zqVPQoT0havmn2Gg5qXgNECNXaSp4uh 3T59J2qWamKzn/Aa5GKnBPzI5kYQRRRSimz/Ou665guQNCc1E172hfr3JnqfixnS VaI4lwU4kyFJv44wl1TFwo= Received: from localhost.localdomain (unknown [218.17.89.92]) by smtp7 (Coremail) with SMTP id C8CowAA3Xk5MibhgN5zUfw--.230S2; Thu, 03 Jun 2021 15:48:29 +0800 (CST) From: lijian_8010a29@163.com To: FlorianSchandinat@gmx.de Subject: [PATCH] video: fbdev: via: dvi.c: Fix a typo Date: Thu, 3 Jun 2021 15:47:31 +0800 Message-Id: <20210603074731.49717-1-lijian_8010a29@163.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CM-TRANSID: C8CowAA3Xk5MibhgN5zUfw--.230S2 X-Coremail-Antispam: 1Uf129KBjvJXoWrurW7Zr43ur15GF1xXrW8WFg_yoW8JrW5pF WfKF95ArWYq3WkGrsrZ3W7WFy5K3WfJFZF9Fy0k34S9w43Ar4rWr1rAFy0q3yrXFy5JFyf tFW2yFWUKr1xuw7anT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jX9NsUUUUU= X-Originating-IP: [218.17.89.92] X-CM-SenderInfo: 5olmxttqbyiikqdsmqqrwthudrp/1tbiEQ2mUF7+3kJKIQAAs9 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, lijian Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: lijian Change 'diplay' to 'display'. Signed-off-by: lijian --- drivers/video/fbdev/via/dvi.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/video/fbdev/via/dvi.c b/drivers/video/fbdev/via/dvi.c index 13147e3066eb..ba1d9dbda99a 100644 --- a/drivers/video/fbdev/via/dvi.c +++ b/drivers/video/fbdev/via/dvi.c @@ -398,8 +398,10 @@ void viafb_dvi_enable(void) if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266) tmds_register_write(0x88, 0x3b); else - /*clear CR91[5] to direct on display period - in the secondary diplay path */ + /* + * clear CR91[5] to direct on display period + * in the secondary display path + */ via_write_reg_mask(VIACR, 0x91, 0x00, 0x20); break; @@ -411,8 +413,10 @@ void viafb_dvi_enable(void) if (viaparinfo->chip_info->gfx_chip_name == UNICHROME_CLE266) tmds_register_write(0x88, 0x3b); else - /*clear CR91[5] to direct on display period - in the secondary diplay path */ + /* + * clear CR91[5] to direct on display period + * in the secondary display path + */ via_write_reg_mask(VIACR, 0x91, 0x00, 0x20); /*fix DVI cannot enable on EPIA-M board */