From patchwork Wed Dec 22 08:21:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jammy Huang X-Patchwork-Id: 12697066 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 55D84C433EF for ; Wed, 22 Dec 2021 08:23:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=WQiMbY8MASzTI60FD6w3KaHQ1cuxe66kqJN2s1CdTX8=; b=m0AlgrxPjMj4hl AJc7lJA7tIIOF0QiNmiEeBYDMws59LB8yYy9qGfGNTwwEy7BjcG96+Ewo5z6XSFVqu43gAW56beAo 9Bid96u9u0vce7mlQ2VEneULFuuFPII9+yEAdrxviQ7U31CNWpe87l4XhZ89A3ff5IjR4JPMFUYFE BNd59dqu9VRaXUhixShIDs8swiNnGPyP0pjENxRsgf9PXFXdQm3ZaMCLGiQ9iHWmXZLbGAZQsw6av t7c5Ip6hQvd0DhSD0vjzh0B8MEnozpNtnt87sMJ5nEFHI3IFEXJ5KTDEg8MLzT1dC3nG3fvuDwiUC KIjnqLcXRicwUkklSRkg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mzwsn-009dtC-4F; Wed, 22 Dec 2021 08:21:57 +0000 Received: from twspam01.aspeedtech.com ([211.20.114.71]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mzwsk-009drf-6n for linux-arm-kernel@lists.infradead.org; Wed, 22 Dec 2021 08:21:55 +0000 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 1BM8GA6j076072; Wed, 22 Dec 2021 16:16:10 +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, 22 Dec 2021 16:21:36 +0800 From: Jammy Huang To: , , , , , , , , Subject: [PATCH 0/4] Correct timing report Date: Wed, 22 Dec 2021 16:21:35 +0800 Message-ID: <20211222082139.26933-1-jammy_huang@aspeedtech.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 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 1BM8GA6j076072 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211222_002154_522837_744ABB20 X-CRM114-Status: UNSURE ( 6.07 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series will correct the value of timing detected. Changes in v2: - code refined to improve readability Jammy Huang (4): media: aspeed: Correct value for h-total-pixels media: aspeed: Use FIELD_GET to improve readability media: aspeed: Correct values for detected timing media: aspeed: Fix timing polarity incorrect drivers/media/platform/aspeed-video.c | 78 ++++++++++++++++++--------- 1 file changed, 54 insertions(+), 24 deletions(-)