Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4920872imw; Tue, 19 Jul 2022 16:19:23 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vw9xqFBjNOgkpg8q7EulOi0R48Cl+NUie8w/ChiJS+PChwE5So6WfHnCCJSIJTJVkJlNWs X-Received: by 2002:a05:6402:370c:b0:435:cb14:9aa8 with SMTP id ek12-20020a056402370c00b00435cb149aa8mr46443616edb.35.1658272763409; Tue, 19 Jul 2022 16:19:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658272763; cv=none; d=google.com; s=arc-20160816; b=CmJ2OILO4z4c+1Q9UtuFNu9OIZPGbXPjzZIoBvCoe57Pif9cueTi4hD685rV3S6YAu ybE29BRQc7SDWdyFsgI8arck4i2k9zhHCAwby/XFTnUDuqH5VsbOAfShLt+wcoTfxmU+ qcDa0Dp/HSHnAw/U0I64Eoq/qj8BNhPH0PhSSFtUDo19Np1b09M6tgB122rEfDDQa5w4 FhnUOngdjg2upg2KZRhChWRRhKEaNRzcIz05h6d6AtrT0e6uX30Lvjp/PDRaQa2BIEU4 C8nVEfWWVGWFcD0Qd0M+jg/KAI1NY4JrabzjQ6PTJ6awF/rXHWjDukETx3Fe5blJcpSb 46DA== 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=fv+GNXlN9UxF9XBdT2UlE6jI8/2x/dbHCuQ1tk+iXUs=; b=qgTrgqCr8SjlkBdDsr5bg/j5gOoX9siQhYpgU+bKOFk2xpfy9d/65HgtaIlQnFf77z OlDz7SekWjLeWyeRVuf9SUTLnKzJeI0e0x4X0mLCsJtoXZWWbg9nPIYXUBj1gEkXiikf RaGf4vU6g3IjQm32l7r1kqCwl1e0h8EY+9k1lSzXurDysaG/6Qx3GD6Xi9rh8+ICVpZ/ 9iDOmYCyZNn32xpGwsu8zYDwLNKXxPGgKjIWjFJO5wVazoqzAK7B7U3iR33ee6Cp7G34 0fnNmS1AKdRRpJyfD+t+9NCJfcqRvXsukTwaiybhjRRu7kiMnnD/CZa74DxtTqTyq6I5 4fvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ZmE6QeSI; 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 j4-20020aa7de84000000b0043ade0b9a7fsi17363306edv.195.2022.07.19.16.18.56; Tue, 19 Jul 2022 16:19:23 -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=ZmE6QeSI; 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 S240299AbiGSWqA (ORCPT + 99 others); Tue, 19 Jul 2022 18:46:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232110AbiGSWp5 (ORCPT ); Tue, 19 Jul 2022 18:45:57 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 730084D4D6 for ; Tue, 19 Jul 2022 15:45:56 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id t3so21607241edd.0 for ; Tue, 19 Jul 2022 15:45:56 -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=fv+GNXlN9UxF9XBdT2UlE6jI8/2x/dbHCuQ1tk+iXUs=; b=ZmE6QeSILOLriTuD+A60orcSHG5MM5lDq068GNLBGBf0gp2j+kgRdIcg4p5EzEAsg0 NJc57UwpNJmUS20kWorgRWJzqgWdOVzT47jIrMIccxokQbbxJNZv0Dl0Xjh8tkuEieKa 9fG5elw4bKwSsGETu04l7LiBnxio5sYPavxD4= 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=fv+GNXlN9UxF9XBdT2UlE6jI8/2x/dbHCuQ1tk+iXUs=; b=XGZnuIkE3YsmSHWfyufUzeC+JyzFUEX3vnFnhJ83HytlBDcryi1DThHOaBp0YRKOmp ux8PxexI8zsXRwPnM81AaMLg01DIMxizmnn3kyPixD9U0/Uf+kVxDReK9Bx7I5B6X5IC 5jO0X0YTDAWn1yYIusFf1AZ0OCiRU8MZII1z4Jsqypb6ehX73ZjKyqto7ZvJTtZ0hX1d rykR+CDcnXnGzj+z+o0lnP7Fg1lF8iwou89RXw4TXWBeEHPj7FP7l2bReazP7RBudaJz 8MeSjDpShRcCslLfWW3zsc0DcjxGv1Wv11FW+FRiKSONNh5YzHTHpn/BegzPNxIjmGkX T8YQ== X-Gm-Message-State: AJIora9Xo5Q2qRmhn56vc3FEdyPpE3YQ64OMPRKLIb65aOCwunu+wi8Z M24Wq3UYDUJuC+5lUNQLnJ4RsF2u/TBlWLDLqjg= X-Received: by 2002:a05:6402:48c:b0:43a:8bc7:f440 with SMTP id k12-20020a056402048c00b0043a8bc7f440mr46855597edv.8.1658270754856; Tue, 19 Jul 2022 15:45:54 -0700 (PDT) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com. [209.85.221.50]) by smtp.gmail.com with ESMTPSA id ah8-20020a1709069ac800b00722d5b26ecesm7111258ejc.205.2022.07.19.15.45.53 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Jul 2022 15:45:53 -0700 (PDT) Received: by mail-wr1-f50.google.com with SMTP id z13so4119481wro.13 for ; Tue, 19 Jul 2022 15:45:53 -0700 (PDT) X-Received: by 2002:adf:fb12:0:b0:20c:79b2:a200 with SMTP id c18-20020adffb12000000b0020c79b2a200mr28616133wrr.617.1658270752900; Tue, 19 Jul 2022 15:45:52 -0700 (PDT) MIME-Version: 1.0 References: <20220719203857.1488831-1-nfraprado@collabora.com> <20220719203857.1488831-4-nfraprado@collabora.com> In-Reply-To: <20220719203857.1488831-4-nfraprado@collabora.com> From: Doug Anderson Date: Tue, 19 Jul 2022 15:45:39 -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 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 probe= d 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/pa= nel-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", &reli= able_ms); > desc->delay.hpd_reliable =3D reliable_ms; > of_property_read_u32(dev->of_node, "hpd-absent-delay-ms", &absent= _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.