Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp1504458lqt; Wed, 20 Mar 2024 06:13:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW2f4tVRUAUGbJEztUhyaTmPxuiaRH/h2LuYUGMFmVrcXsp27Z0CiWmfasBnoDV1+ICJDets1Fegq5Fg+m/MXwEbpVntD+InURg4PDFUQ== X-Google-Smtp-Source: AGHT+IGr7eFCMgvcFaUkKn1auYkn6MwmYyASShQfxMKPDID1NsRbFBVB/eiJFvxTLqi/6JKUh8U1 X-Received: by 2002:a92:2803:0:b0:366:a1df:7329 with SMTP id l3-20020a922803000000b00366a1df7329mr5858033ilf.2.1710940389573; Wed, 20 Mar 2024 06:13:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710940389; cv=pass; d=google.com; s=arc-20160816; b=JiPZem/q+WbfI1Ux8OamqxQ+bfVHB11GedSvQeYI5jzqGWUmZ67ZPML3ZwU8P5nuDi 9BC6esbQL/mqeIAn28mSakw/gDnfUoFdzlxhf7dVgLcdk5N5dHJpq8vd/uqL+ZdbCg63 sFf+IoiFaimN20U7vhlsmECD/1NVg/bsnPnnvV5YBps3M4vVYVEPfIen2uk7pMwS7ozx gKH6UoTixMbj8ViJYVY9PfS40Ah4GjG4xKq9xPgEp3N9suw7VmNGFfgDBUKYtzTsROcr VwFMmjzWUp1sfQBLz/ieqdumUaIwWEf2GvWXyJVSxJtQM5VLbcaLoBiuO4F6SgeSrJre k46g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=YtEEIo224+jtb9pajjISAJF1a9oOHcAOCyYSU+WydMA=; fh=NR3W0QXI4SR5MwWzhRSylg4idWu5lOMRHn9m0sXfRiE=; b=rw4XD4/q8zBOmW7Dr9sAcsIGfFO6BbuSll36NVu97FzLm6ag6Zy+NjKuC4sAej432/ s1Y16KCAnU6ybWMI5BQTCsDrQKFYliFbeetGBmkk5wBnaKkTX4BxFLrffPa5DZIqivll xJAib/MvevXsu4HHsTkMuSyPy4NNw6IRClyCgPHpqej8DtCmXJ83+4ixp/EsKlQP55oB P5aCedSCtv0957D+wbmcORESXy3u7a8plqlKdNCMHgcyD783Iy7mwITqTl5hd8Y7lbdK sRR6RWluHMzO8/mWXVdrFh/hc0v+GPCiBPT5kvNhugk5JKknk3mo+4KbLNijMXWXM3lF adVg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=sntech.de dmarc=pass fromdomain=sntech.de); spf=pass (google.com: domain of linux-kernel+bounces-108927-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108927-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id r8-20020a635148000000b005cdc5c9d6a2si12332869pgl.576.2024.03.20.06.13.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Mar 2024 06:13:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-108927-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=sntech.de dmarc=pass fromdomain=sntech.de); spf=pass (google.com: domain of linux-kernel+bounces-108927-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-108927-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 34193281765 for ; Wed, 20 Mar 2024 13:13:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A500842059; Wed, 20 Mar 2024 13:13:03 +0000 (UTC) Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0915341C7C for ; Wed, 20 Mar 2024 13:12:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710940383; cv=none; b=A4xzdes3ZjvQNPzNw/SwamzfleQtue//1XVDM5ldeY0Eta4xyJaYLCvNM+vLBsHDRvtymUeoqwP/w3FCeQrQpwK99P8lY4DV2nuhRGhkM5W+BxBHrnsm7hq2PYwS5Ld7b76P6PcJJeFWtXitunl08admz1RGK+q6gJIgNuq/z/E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710940383; c=relaxed/simple; bh=IYVjmc30ghVm+nkDLV+ho87nLXCDj0SQAYQHBoksiuA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=lFXPBjSEvg+q1VqKly+KXD40+vvSyz/c6qsoFzckwpNu3xwQkC0kzd7Q/IXMyywqEXMSHgIoT7ERY+PjseBbsLVwWfun5bdjDP6PpAToh+7LjszLOjZ8/LRF1WQCQs4fy19ljw6XpQ3LScQhOS9fRaSgjKIlyDARx3u5llpRlaw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Received: from [194.95.143.137] (helo=phil.dip.tu-dresden.de) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rmvkC-0001W6-Am; Wed, 20 Mar 2024 14:12:36 +0100 From: Heiko Stuebner To: neil.armstrong@linaro.org, quic_jesszhan@quicinc.com, sam@ravnborg.org Cc: maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, quentin.schulz@theobroma-systems.com, klaus.goger@theobroma-systems.com, heiko@sntech.de, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Heiko Stuebner Subject: [PATCH 2/2] drm/panel: ltk050h3146w: drop duplicate commands from LTK050H3148W init Date: Wed, 20 Mar 2024 14:12:32 +0100 Message-Id: <20240320131232.327196-2-heiko@sntech.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240320131232.327196-1-heiko@sntech.de> References: <20240320131232.327196-1-heiko@sntech.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Heiko Stuebner The init sequence specifies the 0x11 and 0x29 dsi commands, which are the exit-sleep and display-on commands. In the actual prepare step the driver already uses the appropriate function calls for those, so drop the duplicates. Fixes: e5f9d543419c ("drm/panel: ltk050h3146w: add support for Leadtek LTK050H3148W-CTA6 variant") Signed-off-by: Heiko Stuebner --- drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c b/drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c index a50f5330a661..8e0f5c3e3b98 100644 --- a/drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c +++ b/drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c @@ -295,8 +295,6 @@ static int ltk050h3148w_init_sequence(struct ltk050h3146w *ctx) mipi_dsi_dcs_write_seq(dsi, 0xbd, 0x00); mipi_dsi_dcs_write_seq(dsi, 0xc6, 0xef); mipi_dsi_dcs_write_seq(dsi, 0xd4, 0x02); - mipi_dsi_dcs_write_seq(dsi, 0x11); - mipi_dsi_dcs_write_seq(dsi, 0x29); ret = mipi_dsi_dcs_set_tear_on(dsi, 1); if (ret < 0) { -- 2.39.2