Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4930421imw; Tue, 19 Jul 2022 16:33:43 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vgX9MrSXhWwbMo4CAfBtZ0EKNGotC7kzJIVEtCxfXC8cdDjyL1s25Gllakj+1ynC8cBK6F X-Received: by 2002:a17:902:6a8c:b0:16d:1f3f:e184 with SMTP id n12-20020a1709026a8c00b0016d1f3fe184mr696142plk.73.1658273622793; Tue, 19 Jul 2022 16:33:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658273622; cv=none; d=google.com; s=arc-20160816; b=sOGeUBKYMYE0XMptVnve5ILzUUfmzXUag4u2evZGTMnI/VRxO6YuSuGZsgeTpocjvE yrdp2NTafIifkXUmkp3Hiq9EghVofTwefAoma3n65Ru9u/0lURaSfqM0fOOoQwXInx36 fwQGJaZrJvf5aZ9jvIXdmCas1y9Fl2plzzodoBElVDB2XBd2xitrLrZ5p7Jk20EAUH6W 1kJ2l2I6FMMF9evBJ+EEgvHPSuIFrUXIGK2UaE+IZ/CFbBg/PBpWq2m5c3jHC7dn2zI8 4eobHBq5RLoJzM/pM8GN4UcgEBwNvBZwiqyxN5eSFiCDUdTgz8hJRPN+la+XIK/BRIj0 1pXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=7PK6D+h+8OxcoWXpNYlUYth9TT/PlFLZBalPC3jKAK8=; b=ncnEQZihdSA2I8w5vwQ+1WUJUdoZuK4uSkU8h4kkTHyGZO7M0G3qCoaMsPImwhdzyV sCLvm1Dp0z67NlOCPqjSA/G+6zR4vp0Nl+tCk+mC00ASXMJxI1lEZZCRy9zkXvPLAc1l eutuiD7MzNqAYDtSaBZ5xxpzX/cQ/FsgjFEkdb5ZQUerwSgMVb2TIBRMafxXUIDqZoN9 ZxGO8pvVynyohEKqQCYd+t1t78sPEoyCO/ptD6M8kwnRBsdR5AwMFpBkgWXRUDCmUTOt m1i2maxI377AxZAibXqqxr3VTM1Lft3C/4ACgzRtKCd9/w8I75EKsD8pyhB6FwXzhW6Y M3CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=EHnKpW8u; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o20-20020a656a54000000b004161b3c3df2si11382597pgu.215.2022.07.19.16.33.26; Tue, 19 Jul 2022 16:33:42 -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=@chromium.org header.s=google header.b=EHnKpW8u; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240405AbiGSWtq (ORCPT + 99 others); Tue, 19 Jul 2022 18:49:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237322AbiGSWtp (ORCPT ); Tue, 19 Jul 2022 18:49:45 -0400 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3B9560532 for ; Tue, 19 Jul 2022 15:49:43 -0700 (PDT) Received: by mail-ed1-x52c.google.com with SMTP id k30so21556369edk.8 for ; Tue, 19 Jul 2022 15:49:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=7PK6D+h+8OxcoWXpNYlUYth9TT/PlFLZBalPC3jKAK8=; b=EHnKpW8uMagKdXxRMch4+SfbCXYeOqLlfUQ+anvZ2PvnHM8fiRWUFq5iPyxi9IJKiD 77b7i9+MJjJ7vLhXCmbjGaD98rqpdTmcS2w6p0mubl9uVAc2ifyn2SPc5z1cEP0D5S75 pUqCQLKhrJ3SeMLUWYEPqxUKjsMtBBkPB6494= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=7PK6D+h+8OxcoWXpNYlUYth9TT/PlFLZBalPC3jKAK8=; b=i8bY3KwKawD7hYVERDU7dBbVErT8NMdJTyTjzC8cF2q8sRoT+f/1r4ke5hz/Na7qst qOsRs/w4/mkA84x1cNsCaKfZcpHYkLT4xHVcrsFky7DQh5g0s/6Rw3x6ouOs5hnOTBm9 KsScznkPqRMrM4qsKSbPj2cewX1mAdHVKEGhISW9LewKzgrSG9cQOMB0pEp3NqHK0TK4 5g5H8Us7cgLX1UEdFHQwYIKGKnE/hcGnzo5kgIrPI8Z5LKz649lB67p64Lw2jDssiahR 4QE6UuWrWQ6K6MBa4tpBN54wpGHLD4HO769yUduk0v+WeefczmmxaSb1MgJL5pqyNYZ/ WHhA== X-Gm-Message-State: AJIora8R5RbQrfmL/dvhLlqcU32Gpq+hMMJouFUTvHe3bBwVMzprHiHk UFiGG0g2CpJ/6DBD5RXbg6V+gMKujGu3ycWXDrk= X-Received: by 2002:a05:6402:11c9:b0:43a:b054:52ba with SMTP id j9-20020a05640211c900b0043ab05452bamr47688418edw.344.1658270982430; Tue, 19 Jul 2022 15:49:42 -0700 (PDT) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com. [209.85.128.48]) by smtp.gmail.com with ESMTPSA id dx24-20020a170906a85800b006fed93bf71fsm7313423ejb.18.2022.07.19.15.49.38 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Jul 2022 15:49:39 -0700 (PDT) Received: by mail-wm1-f48.google.com with SMTP id x23-20020a05600c179700b003a30e3e7989so233519wmo.0 for ; Tue, 19 Jul 2022 15:49:38 -0700 (PDT) X-Received: by 2002:a05:600c:4e8d:b0:3a1:2e4d:1dd2 with SMTP id f13-20020a05600c4e8d00b003a12e4d1dd2mr1180998wmq.85.1658270978565; Tue, 19 Jul 2022 15:49:38 -0700 (PDT) MIME-Version: 1.0 References: <20220719203857.1488831-1-nfraprado@collabora.com> <20220719203857.1488831-4-nfraprado@collabora.com> In-Reply-To: From: Doug Anderson Date: Tue, 19 Jul 2022 15:49:26 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/3] drm/panel-edp: Fix variable typo when saving hpd absent delay from DT To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= Cc: AngeloGioacchino Del Regno , kernel@collabora.com, Daniel Vetter , David Airlie , Linus Walleij , Sam Ravnborg , Thierry Reding , dri-devel , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 Hi, On Tue, Jul 19, 2022 at 3:45 PM Doug Anderson wrote= : > > Hi, > > On Tue, Jul 19, 2022 at 1:39 PM N=C3=ADcolas F. R. A. Prado > wrote: > > > > 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 pro= bed by EDID") > > Signed-off-by: N=C3=ADcolas 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 *d= ev, struct panel_edp *panel) > > of_property_read_u32(dev->of_node, "hpd-reliable-delay-ms", &re= liable_ms); > > desc->delay.hpd_reliable =3D reliable_ms; > > of_property_read_u32(dev->of_node, "hpd-absent-delay-ms", &abse= nt_ms); > > - desc->delay.hpd_reliable =3D absent_ms; > > + desc->delay.hpd_absent =3D absent_ms; > > Well that's embarrassing. In the end I never used any of these > properties for anything shipping since HPD was always hooked up on > later boards and the only board that needed "hpd_reliable" never ended > up switching to the generic "edp-panel". > > Reviewed-by: Douglas Anderson > > I'll apply this right away to drm-misc-fixes. ef2084a8388b drm/panel-edp: Fix variable typo when saving hpd absent delay from DT