From patchwork Mon Jan 10 11:31:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 12708595 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C9608C433F5 for ; Mon, 10 Jan 2022 11:31:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1697614A918; Mon, 10 Jan 2022 11:31:54 +0000 (UTC) Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8D97014A914 for ; Mon, 10 Jan 2022 11:31:52 +0000 (UTC) Received: by mail-pg1-x52e.google.com with SMTP id y9so10853058pgr.11 for ; Mon, 10 Jan 2022 03:31:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yaFj6yd5t+Lu5pWt+znS6FpfZLmcYMQjoQyc1QJ89Aw=; b=FTE4tRWuWsoVY5qVuiDckg5oqtLZBnPUadJ9rcpVMOmlT1dsJyqEomd/AvJmRwZ4ka PgdWUlzj4FB4g1aglsuVTNzjtanWSPPx7GHwWqeQpLXExHaBFBiNv5kp5f3wqYJlnZcE LlpppBFcy7F6eTgGgS1u1/sf+UMzAVxodpYfw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yaFj6yd5t+Lu5pWt+znS6FpfZLmcYMQjoQyc1QJ89Aw=; b=n+oIv0NBqnANdyNd/37WyGqNGVJqQFU7huLaYLUeYodF5n43NAmFMnFNlJqULoLqiP NYg0QzE60lapOUBFZImfRJ92+lze8e9mTZRI1eUXUJ/w13G9lILvlZUjUIR1L518fHYH 7CRQH0pazdhBluyN1/5drE7FjpH9eHqMzh+sANuoHIdRZMrChVSzhW8yeKv+ceGvp5Wu hBq+pn3yL+Qs/+M1QS+jdFYp5y5Wa3VUICjTXU37fJPVmoO1pl6DZgoJS+Fokw7BymZA 3g75VxZsuK+EKwsFSY65z5mi9EvH1eJv70MpFeMmYpqv83D6+Ik+5tT3labO1Mdv4wv5 4/3A== X-Gm-Message-State: AOAM5317VVv7vV0J6DrU71N61j+VsFpoV5tXU8dTheqbU6dvl+BHcwvO u6us6gOAqMs1xOp4lJs9MkoC9w== X-Google-Smtp-Source: ABdhPJx3M0eaPH5Q9bpJR08khkUPnJt6aAJkLDyBpP/iRibG8z5PD5HHJJ2M/aqp5xsBTItrbxzTEw== X-Received: by 2002:a63:3ecb:: with SMTP id l194mr6056715pga.447.1641814312112; Mon, 10 Jan 2022 03:31:52 -0800 (PST) Received: from localhost.localdomain ([2405:201:c00a:a0a9:9b82:2968:cfb9:c6c6]) by smtp.gmail.com with ESMTPSA id y10sm8790638pjy.24.2022.01.10.03.31.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jan 2022 03:31:51 -0800 (PST) From: Jagan Teki To: Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart Subject: [PATCH] drm: bridge: chipone-icn6211: Drop unnecessary bridge type Date: Mon, 10 Jan 2022 17:01:40 +0530 Message-Id: <20220110113140.27819-1-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amarula@amarulasolutions.com, Jagan Teki , dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Explicit assignment of connector to bridge type during bridge addition is optional. Some of the bridges like ICN6211 has panel to be connected and that panel driver has taken care of associated connector type of it. Drop it. Signed-off-by: Jagan Teki --- drivers/gpu/drm/bridge/chipone-icn6211.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/chipone-icn6211.c b/drivers/gpu/drm/bridge/chipone-icn6211.c index 23c34039ac48..c60170865b74 100644 --- a/drivers/gpu/drm/bridge/chipone-icn6211.c +++ b/drivers/gpu/drm/bridge/chipone-icn6211.c @@ -238,7 +238,6 @@ static int chipone_probe(struct mipi_dsi_device *dsi) return ret; icn->bridge.funcs = &chipone_bridge_funcs; - icn->bridge.type = DRM_MODE_CONNECTOR_DPI; icn->bridge.of_node = dev->of_node; drm_bridge_add(&icn->bridge);