Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp812750pxb; Tue, 12 Apr 2022 14:09:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyl4tvpohrK82DMwKXOTcxpDy5IwfMkiG/sGPOC7YdVwt8tnZneJ+1gt4hywCgmajfjc9Lh X-Received: by 2002:a17:90b:1c8e:b0:1bf:364c:dd7a with SMTP id oo14-20020a17090b1c8e00b001bf364cdd7amr7010722pjb.103.1649797742235; Tue, 12 Apr 2022 14:09:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649797742; cv=none; d=google.com; s=arc-20160816; b=qTB2Wm7HERjtuvx1w8tUu/QDiva4sCnpdl6nLSb1EFRLBTDIiGQNfhJ819/2dqgNRO UMV14rlGAnoWq9U1lE/bIDqiyXvxN8qFHbcR2ATe63XHnFH/h84xpO+fmsima6mxL6kk y1U+xUabaNKA8Jtf1Tc7A83BWHvT/G8hAUNRhtxDE95ve+cLBJxWu/WMyqZ4x0dluPme qDTa3MumsoiKrAjnhcVWfQBKn8Hi7nxXt1P/D/E8RXkB20KRTcfYFHkb8unhVpiExStn oe6JOSDb5tNBRiXkZkEJFsymmpGthkPDOy5z2+MqpN4UuiMn14iehIjtTh3xcte3nYNb j8xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=OGafDg3DxeHztujL+sSHxizX/gbRwwn9uMxQuC04w7k=; b=Wk4AetR9FtsExgIDeed6Ar6M7eA1u80ue+9PGtMfSR0CwjEezX1EoQvhs2LzieAf6S wyaTulSu5KTjjizZa/eR5libv795594JhpCnTXtGVQ9oQ7CDQyF/6CEc2Rn8HXjAz53O DPO3puJIEo0JaJMO13iNL1jbguVAZasO5Yn+LBhFBn5o4zF6NH06omrVXWRRVwE7/DAC FVNHkdSjHMP253PIY3XgSstjxG+eCkd9Of9gqx6ALJHy9xj6wMdP0kBayDr7U+4cNRTS CClBqOpCZbVP9aUyPuYhv/KWwE5+rAX2rVEyUJjpNPa5I3JwIpU8Y3h8oCICF09NrEzw 9pTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="hsIdT/Gm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id v62-20020a638941000000b0038633e6a886si3492668pgd.513.2022.04.12.14.09.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 14:09:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="hsIdT/Gm"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 12A6BDFD46; Tue, 12 Apr 2022 13:25:56 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238098AbiDKA5g (ORCPT + 99 others); Sun, 10 Apr 2022 20:57:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58240 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237820AbiDKA5f (ORCPT ); Sun, 10 Apr 2022 20:57:35 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1537115FC4 for ; Sun, 10 Apr 2022 17:55:23 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id u19so8637323ljd.11 for ; Sun, 10 Apr 2022 17:55:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=OGafDg3DxeHztujL+sSHxizX/gbRwwn9uMxQuC04w7k=; b=hsIdT/GmWbO+U9EX4aKGvbGV8JS8jvtcjwggO/EJFEm3VcYSmGVdL5lYZOa1rJgiL/ plK7KaELvjRgYwi4v/WIkiB0eHJXUIdk5L67hRcklZuAhhTYuZQf6POsJg7/K+sKKEb0 5SAttD+FHIJwJXpLYsOKDKEzPhQli9WIBnCPnpWd9zcJnxThatcsy15uXc35UMqsCbJ3 CIXXREMdLa8l/EYJDbqTKgelf3GSUkXTBfVPYnTeJsjJnPsCaTe0+Au5CaARYjsOAYfj MX7o8hNSx31P0f9j0a6SRlsjbmToThwVzNkR5lkBN+R2SPqTtNVD7aNaPupdK2llJKjJ 8CPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=OGafDg3DxeHztujL+sSHxizX/gbRwwn9uMxQuC04w7k=; b=2jrzQhS+fz//5FUFGwOPEZjwCtssBDFI7YMTCGnOBudiUbvVN1n5vAWuDEcq44IUkW TuQwdqd1iRPNtGvRXfW5dYrn6DOgb/Z3KRyQq2w58tZiL1PqX9Ou3lSUCoDDcVqUNdxq bFGYqZJZMvUYIgrgZt55q4mdY9anFX8Sk1hX78t55XcLLbAXnITrDC9aNcJejocPlZ85 D7vsmjeh381jHedKIUCzmd8tQ6YfT1WnDfhd9goEX3fpm/i49ITUl2Mo5+r933MEEyDU 0/gRTb/FeorT88Bjn9P8ynDg9PJkKc8zL4fDa6QHCIjgLDRwBMnXcaGtHa2yOickj65H aZpw== X-Gm-Message-State: AOAM532pJXfWEyddFd3UEYxZo8Z2Rtcnhv80Nvp9/vTvDObhyuefcERX lVpuhjjQkYQG86JwlN3adurRRg== X-Received: by 2002:a05:651c:548:b0:24b:5e49:7714 with SMTP id q8-20020a05651c054800b0024b5e497714mr3939851ljp.223.1649638521243; Sun, 10 Apr 2022 17:55:21 -0700 (PDT) Received: from [192.168.1.211] ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id g15-20020a056512118f00b0044a835fd17esm3161424lfr.162.2022.04.10.17.55.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 Apr 2022 17:55:20 -0700 (PDT) Message-ID: Date: Mon, 11 Apr 2022 03:55:19 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH] drm/msm/dsi: Use connector directly in msm_dsi_manager_connector_init() Content-Language: en-GB To: Stephen Boyd , Rob Clark , Sean Paul Cc: linux-kernel@vger.kernel.org, freedreno@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-arm-msm@vger.kernel.org, Abhinav Kumar , Sean Paul References: <20220318000731.2823718-1-swboyd@chromium.org> From: Dmitry Baryshkov In-Reply-To: <20220318000731.2823718-1-swboyd@chromium.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 On 18/03/2022 03:07, Stephen Boyd wrote: > The member 'msm_dsi->connector' isn't assigned until > msm_dsi_manager_connector_init() returns (see msm_dsi_modeset_init() and > how it assigns the return value). Therefore this pointer is going to be > NULL here. Let's use 'connector' which is what was intended. > > Cc: Dmitry Baryshkov > Cc: Sean Paul > Fixes: 6d5e78406991 ("drm/msm/dsi: Move dsi panel init into modeset init path") > Signed-off-by: Stephen Boyd Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry