Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4821594imw; Tue, 19 Jul 2022 14:02:43 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v4ya/+t9NFp/usQ6ifcvYXqJzyCcsg3zxYdkkAUe8n529OGcoHo1bVKY5g72IDVwiCxkf/ X-Received: by 2002:aa7:c752:0:b0:43b:a03d:d3d3 with SMTP id c18-20020aa7c752000000b0043ba03dd3d3mr5150956eds.401.1658264563494; Tue, 19 Jul 2022 14:02:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658264563; cv=none; d=google.com; s=arc-20160816; b=WOVXoi2FDeOjZCI9XkLRtMDf7Qe7eI5ZQjyBZK8V+Obm0KYaFtysVAoIEoWp1gwRmy q0xn9rUCzH/iHHmJl7D8tGVS2SXVSCXUkKFjGRtN8HravMX41YSSKQM/0ikcKm7Yg9Xh Gu7g65c+yjHdh3WtVYk6mj/XTrqFOETdOmlSMVxa1bxoIKCnMldl3LAYtvukMz2B/MBe f0Mq/ugbB4ljd2lYBHSqRBRj0h9AO6warDlsSyjnzftJzm4pIjcn29eg8ob5aVvq2z/g kjFtx2hIUUHN0JRol9y41ePMkDFRXmhNtoDbqjaOg1PuKzUFoh3feLtUquM5mD0DC8Um OESg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3tTQgA3AbPkoctsGcBbPfsihrKSm5iTmIEHZJXiWhLs=; b=fjE/dQKyvwesfBOi2Eol6Dnpc2bP/FIDi6pPoa84iLNW+uBzMplsxIVHUqLUIXeWFS Y01oQqhSux/ZeirnE2+JldvGy7s3PtSqKjcaMTmKfAnJRQ35FDFRsQQKP4Iv38txxQJP kHSDqWXBG6i9ahSZ0Cu7CPFB/7DCdg5zj2leIhQDc4GWOYQtLDPCuv1BAzuX7k08UlOI 3zEeDcGF3Yo3XFMrYt8534LrAffUcHroECWDrtxGglSFmw6JneKs2eV5soVh/zvkXnto 2a61ntHxlYecKk+MTKOdS16RoClRYHTvxq+Wne6CM3GUOod5U2mfc4jxdtAsWlAcB7Yo j9hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=gZuUFo9V; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h13-20020a056402280d00b0043acab6b407si23246761ede.424.2022.07.19.14.02.17; Tue, 19 Jul 2022 14:02:43 -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; dkim=pass header.i=@collabora.com header.s=mail header.b=gZuUFo9V; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239946AbiGSUjT (ORCPT + 99 others); Tue, 19 Jul 2022 16:39:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240032AbiGSUjH (ORCPT ); Tue, 19 Jul 2022 16:39:07 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E80D952DEC for ; Tue, 19 Jul 2022 13:39:06 -0700 (PDT) Received: from notapiano.myfiosgateway.com (pool-98-113-53-228.nycmny.fios.verizon.net [98.113.53.228]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 8FAFB66019F4; Tue, 19 Jul 2022 21:39:04 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1658263145; bh=Aq5S2gkpJATVIFJkGq8D34wf45tOEaY6CNq3MR0BK0w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gZuUFo9Vy6cZQoonAOzTsCRvxxn2F+ic4Ay7DsNSAm1Q0HLQxF9C/s/43Fa1TRkyJ C0mSmFFyYBNtnVYvPQFvZgzF9Hs2RrbtIXE0TKmiX0RHIRK+EI1t8jPUoCvuGE6LcY 8TrGVP7AwDkOCUNu/bWwEgZBVN8DcqG39jzg2VkKLBdvX1JQbMH+3U+8jdq7atksab m6A07wpR1XcEsCxYYb5StPXHEdyR9mKlKCAoUlSzE2jFJ4qwN68sFPjGh1lSMFRWa6 p58epxBKKype+4S9oBmnK+F8/kO/GsUPzUwIITECtf+yyIGkwoNzTRzvh1flalhJxH +4nHrVfukDZbQ== From: =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= To: Douglas Anderson Cc: AngeloGioacchino Del Regno , kernel@collabora.com, =?UTF-8?q?N=C3=ADcolas=20F=2E=20R=2E=20A=2E=20Prado?= , Daniel Vetter , David Airlie , Linus Walleij , Sam Ravnborg , Thierry Reding , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] drm/panel-edp: Fix variable typo when saving hpd absent delay from DT Date: Tue, 19 Jul 2022 16:38:56 -0400 Message-Id: <20220719203857.1488831-4-nfraprado@collabora.com> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220719203857.1488831-1-nfraprado@collabora.com> References: <20220719203857.1488831-1-nfraprado@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS 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 The value read from the "hpd-absent-delay-ms" property in DT was being saved to the wrong variable, overriding the hpd_reliable delay. Fix the typo. Fixes: 5540cf8f3e8d ("drm/panel-edp: Implement generic "edp-panel"s probed by EDID") Signed-off-by: NĂ­colas F. R. A. Prado --- drivers/gpu/drm/panel/panel-edp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c index 152e00eb846f..b3536d8600f4 100644 --- a/drivers/gpu/drm/panel/panel-edp.c +++ b/drivers/gpu/drm/panel/panel-edp.c @@ -738,7 +738,7 @@ static int generic_edp_panel_probe(struct device *dev, struct panel_edp *panel) of_property_read_u32(dev->of_node, "hpd-reliable-delay-ms", &reliable_ms); desc->delay.hpd_reliable = reliable_ms; of_property_read_u32(dev->of_node, "hpd-absent-delay-ms", &absent_ms); - desc->delay.hpd_reliable = absent_ms; + desc->delay.hpd_absent = absent_ms; /* Power the panel on so we can read the EDID */ ret = pm_runtime_get_sync(dev); -- 2.37.0