From patchwork Tue Sep 14 12:11:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: joevt X-Patchwork-Id: 12492961 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 35F99C433F5 for ; Tue, 14 Sep 2021 12:18:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 131E161155 for ; Tue, 14 Sep 2021 12:18:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232890AbhINMUD (ORCPT ); Tue, 14 Sep 2021 08:20:03 -0400 Received: from omta002.cacentral1.a.cloudfilter.net ([3.97.99.33]:54812 "EHLO omta002.cacentral1.a.cloudfilter.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232865AbhINMUA (ORCPT ); Tue, 14 Sep 2021 08:20:00 -0400 Received: from shw-obgw-4003a.ext.cloudfilter.net ([10.228.9.183]) by cmsmtp with ESMTP id PpLxmzRdxps7PQ7HjmGPUr; Tue, 14 Sep 2021 12:11:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1631621495; bh=fd+eZviUQarNNvgOrI8lsYyJLLboBowTzurihqHiSuY=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=UDkQ8eGiKsSzR3JgMFLNQWS8B3kimHaUCbzgRuiEZXM/qp/kHrqsxns1Qgym82gNq G4b9po1w+XN02gGyCz1KPqfiXE98MV4ecym75Iwmonm9cU6qg09vSaql/o0DretXk1 7S2k0fSFxXneVNdGs/vC54BITPT/P2+4o8hrEZyrcwXW42k87ny0BuZLb/39F1Zfg8 ivgOzh5gxTxroDjFp52+Y52WbLSK3OiKsjsr6AuV4HKsNgf+qLQw6Nv6ZpSJWmWdPM c6w+tWQm+PV17TGutumZFG7cODW1yRrVBsAdaAUZ5hV+E2m5/qb/FLx1QE2wAr9m2i HUkwVAswtji+w== Received: from shaw.ca ([70.71.78.228]) by cmsmtp with ESMTPA id Q7Hdmcu7dcHSBQ7Himpv12; Tue, 14 Sep 2021 12:11:35 +0000 Authentication-Results: ; auth=pass (LOGIN) smtp.auth=joevt@shaw.ca X-Authority-Analysis: v=2.4 cv=I4EG+Psg c=1 sm=1 tr=0 ts=61409177 a=qDatE6m/3wxSEG8Wq7h0zQ==:117 a=qDatE6m/3wxSEG8Wq7h0zQ==:17 a=_Dj-zB-qAAAA:8 a=oQ9W4QiKeHPeSB6vl44A:9 a=c-cOe7UV8MviEfHuAVEQ:22 From: joevt To: Hans Verkuil Cc: linux-media@vger.kernel.org Subject: [PATCH 06/11] edid-decode: linefeed before fail Date: Tue, 14 Sep 2021 05:11:24 -0700 Message-Id: <20210914121129.51451-7-joevt@shaw.ca> X-Mailer: git-send-email 2.24.3 (Apple Git-128) In-Reply-To: <20210914121129.51451-1-joevt@shaw.ca> References: <20210914121129.51451-1-joevt@shaw.ca> MIME-Version: 1.0 X-CMAE-Envelope: MS4xfNrjUQAZyNVYZxAgiJFVPxcFej2K5CIOnSPeakpm7sfQfeTpkFkOLj7J3vOkbCvNL9yNJ1lsSd7Syzhb5KuMjakAiJlryVfFGfv5znRcvMxigs4qv7it Ge1OUTz46QGbHveQ88Tj6+oLvdRJQ3cBHf796IO+y8ZTRhhJI2v8s55yGgK2qnT3bGP11uStngMfFkG/prjNDwHWvSQqP8OeCXs= Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Always output linefeed before fail message. See example dell-up2715k-dp1-optomedia-cmv535. Signed-off-by: Joe van Tunen --- parse-base-block.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse-base-block.cpp b/parse-base-block.cpp index 32d2079..5840fd8 100644 --- a/parse-base-block.cpp +++ b/parse-base-block.cpp @@ -700,9 +700,9 @@ void edid_state::detailed_display_range_limits(const unsigned char *x) base.max_display_pixclk_khz = x[9] * 10000; printf(", max dotclock %d MHz\n", x[9] * 10); } else { + printf("\n"); if (base.edid_minor >= 4) fail("EDID 1.4 block does not set max dotclock.\n"); - printf("\n"); } if (has_sec_gtf) {