From patchwork Wed Jan 18 08:16:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 644262 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0B10FC32793 for ; Wed, 18 Jan 2023 09:00:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229769AbjARJAm (ORCPT ); Wed, 18 Jan 2023 04:00:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229620AbjARI6s (ORCPT ); Wed, 18 Jan 2023 03:58:48 -0500 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D34577ABB for ; Wed, 18 Jan 2023 00:17:08 -0800 (PST) Received: by mail-ej1-x631.google.com with SMTP id ss4so73993888ejb.11 for ; Wed, 18 Jan 2023 00:17:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Z21qabX0zA0LOCrjyd5BOA9oMNili5LM3YkrVmBV2Eo=; b=miHFnkPBaZGBZf/Q+RwZ03zBxicSB0GC4It/AoIceWlaEUI3cB/wA8NvOSz78BmNR5 R/BFzSoHyY7rSq5HDWmm8qXH7rSOihIbgusOus+AQSFdokZMIOM8fauF5pjGcXscgyCG yFf9eXa2FimHCNRBjYhLJ33HwHi0scOQcuWSKa5/Sc2I9JPEY2FxeFIAwABOL28SNWBP KvXK7ewf13f2QlTzY3kLLb3VywOZWmrOK2axqdSu5RnJ0J0K9HGVhG2pvAJpEXXNMCnc FlK/xF0bLFZLBzeatC5lsPaGfWZKOP+M9kUmDxbGHat+33jcnLX3pjwEDDhxk3xN7X9y ogFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Z21qabX0zA0LOCrjyd5BOA9oMNili5LM3YkrVmBV2Eo=; b=oODB3fwPxXBXhL9Wg+WxJ5uRUP9EtrcL33FVQSczS/vtS8F1N+uLtF9CmXkObFVOwo /6DqGphjZqOQxhQEWDRUR9OJIYar7z9F+Kr+FfDw3SH/ybwu/GGPpDbMhRaIJ682g/+i WYnSiFZUs/rF3NpsX0yQY2gXDXjzbzTB4G6lfTyaeY3kKouZnRKIpFdQgwWSqhE7S4T1 G6LlZploKnL8zkQgGKYMpmt5dRv54wILH3ojM0QgQlfIcM53QJPvJxPV5m8F7VVR/KAC uWqimQCWWhnCgbibnMzDDYfc2Ezaq6XI+53GQNGXfCDuUyWtCTpf189/GE6Z4VBmUzv8 bovw== X-Gm-Message-State: AFqh2kpvLMYQX1nNgaVX7VmZO+omjdlaVRvypsvAKmic6KWpKIOTAKrU evR3cGeDrau+Zdcg/gBuZHgYvA== X-Google-Smtp-Source: AMrXdXv54Cd9vgBkUt9dwbHyzGs5tvEicxpFcmTNq4XN69Jnw66LcHPusI+mYcTMN6hVRR35tkYctA== X-Received: by 2002:a17:907:8d16:b0:84d:43a0:7090 with SMTP id tc22-20020a1709078d1600b0084d43a07090mr6629133ejc.77.1674029826804; Wed, 18 Jan 2023 00:17:06 -0800 (PST) Received: from eriador.lan (dzccz6yyyyyyyyyyybcwt-3.rev.dnainternet.fi. [2001:14ba:a085:4d00::8a5]) by smtp.gmail.com with ESMTPSA id f22-20020a17090631d600b00779cde476e4sm14199080ejf.62.2023.01.18.00.17.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jan 2023 00:17:06 -0800 (PST) From: Dmitry Baryshkov To: Vinod Koul , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec Cc: David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-arm-msm@vger.kernel.org Subject: [PATCH 06/13] drm/bridge: lt9611: pass a pointer to the of node Date: Wed, 18 Jan 2023 10:16:51 +0200 Message-Id: <20230118081658.2198520-7-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230118081658.2198520-1-dmitry.baryshkov@linaro.org> References: <20230118081658.2198520-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Pass a pointer to the OF node while registering lt9611 MIPI device. Fixes: 23278bf54afe ("drm/bridge: Introduce LT9611 DSI to HDMI bridge") Reviewed-by: Neil Armstrong Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/bridge/lontium-lt9611.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/lontium-lt9611.c b/drivers/gpu/drm/bridge/lontium-lt9611.c index e2799a0df8f8..3b77238ca4af 100644 --- a/drivers/gpu/drm/bridge/lontium-lt9611.c +++ b/drivers/gpu/drm/bridge/lontium-lt9611.c @@ -769,7 +769,7 @@ static const struct drm_connector_funcs lt9611_bridge_connector_funcs = { static struct mipi_dsi_device *lt9611_attach_dsi(struct lt9611 *lt9611, struct device_node *dsi_node) { - const struct mipi_dsi_device_info info = { "lt9611", 0, NULL }; + const struct mipi_dsi_device_info info = { "lt9611", 0, lt9611->dev->of_node}; struct mipi_dsi_device *dsi; struct mipi_dsi_host *host; struct device *dev = lt9611->dev;