Message ID | 20190319104114.12077-17-tomi.valkeinen@ti.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp3712013jad; Tue, 19 Mar 2019 03:42:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqwGHJtgdwzEQrRrBkdGjydlT9+INcNRSEjyb1PCp1hZdkmc9iMehrPTnnipi/k80Lkcvauj X-Received: by 2002:aa7:9211:: with SMTP id 17mr1250913pfo.220.1552992169919; Tue, 19 Mar 2019 03:42:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552992169; cv=none; d=google.com; s=arc-20160816; b=hmzK2z5LjtCTqD4wW0Do96to1EoSOa28bImUCeIDgx3TRpO7VYWK2QJolr+PL8jZLF awax08Ah7aW9hPqDsfqGBBfDNLwVdVuC2TTdUELydVuB2lC9UVpxTBugvZ2Inp+ldkJl zuzjiZgkLEwP3wMn+MrK4vkUracU19DUGbfGDv6oghnA7woBm1z14RohELDcTaX+JOGd wEK0EQ+kbK5CjS96nhogcdF2SuXyvYduCgoNAIX9r3QJEIUO/C+9+RTGcy/SVzUIMoGT tgrR4tr3SRX/lKDBwe87E7daSS/8i29yfzWsSvUgg1KtEZSR1K9FAt2tIRFPB0QhoF/l YxzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to; bh=tdQ1tfSAv5S97OFUBkoiIvUcbudsZFm6EWeZAlD9KdY=; b=OVg7jUpHFeWDwwXctPCn4POB/NFbRn3/N4z4KIUM0AtV/JCeCbhae7EVbEIpfgCMIB E1F9oWAPqdG5Gxf9fxrdgk2FtTqRkFq2yTu4YwEojlC3JDlZlmbnccmgRRqu6SC2g6gk LQDaCDQgYCEJs/RIQ8tmj9EEdBgsd2DNbjc3VLy54SgyEnJKQ9ipwvuBAVmKrb6vFBmb gHx0ZDccbVCnt/JbIsww91vlRP6gjWTxqdNtCvL/fz7R7Pyt2wUK+0jWVMZL5jir24ej 0shaeU5FaWIbxXa3Hx1jU4muMqNYAJObF00QF7UpWZFMEgjTSUyS/n4GTOvzVj4kHF/6 hX5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: <dri-devel-bounces@lists.freedesktop.org> Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id z18si11126688pgf.66.2019.03.19.03.42.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Mar 2019 03:42:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1F39E89AB7; Tue, 19 Mar 2019 10:42:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6237489AB2 for <dri-devel@lists.freedesktop.org>; Tue, 19 Mar 2019 10:42:43 +0000 (UTC) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id x2JAgd97076822; Tue, 19 Mar 2019 05:42:39 -0500 Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x2JAgdCN114436 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 19 Mar 2019 05:42:39 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Tue, 19 Mar 2019 05:42:39 -0500 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1713.5 via Frontend Transport; Tue, 19 Mar 2019 05:42:39 -0500 Received: from deskari.lan (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x2JAfxlZ019091; Tue, 19 Mar 2019 05:42:37 -0500 From: Tomi Valkeinen <tomi.valkeinen@ti.com> To: Andrzej Hajda <a.hajda@samsung.com>, Laurent Pinchart <Laurent.pinchart@ideasonboard.com>, <dri-devel@lists.freedesktop.org>, Lucas Stach <l.stach@pengutronix.de>, Andrey Gusakov <andrey.gusakov@cogentembedded.com>, Philipp Zabel <p.zabel@pengutronix.de>, Jyri Sarha <jsarha@ti.com>, Peter Ujfalusi <peter.ujfalusi@ti.com>, Benoit Parrot <bparrot@ti.com> Subject: [PATCH 16/21] drm/bridge: tc358767: remove check for video mode in link enable Date: Tue, 19 Mar 2019 12:41:09 +0200 Message-ID: <20190319104114.12077-17-tomi.valkeinen@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190319104114.12077-1-tomi.valkeinen@ti.com> References: <20190319104114.12077-1-tomi.valkeinen@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1552992159; bh=nuPjGNDQucSqyqC9jIbY/YGUkJUg+ggSWs9ID4Bafd0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=b7ftxUdKZwL2321tx8zQQ0sBgkXqT9Azr6ct4HsgE2Se3lFPQFrEQWt3mHe4F++UH NmP/tw+fQhvS170nPlSNq/qYBOThK/7ubW7AMMf7u5W41JUeWFRwcx8DCKNBHsyLVy 3oSFVx/aChrOV+MFw4RnkfKPvCG842Mbc0hUj50k= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Cc: Tomi Valkeinen <tomi.valkeinen@ti.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> |
Series |
drm/bridge: tc358767: DP support
|
expand
|
diff --git a/drivers/gpu/drm/bridge/tc358767.c b/drivers/gpu/drm/bridge/tc358767.c index 1c61f6205e43..ece330c05b9f 100644 --- a/drivers/gpu/drm/bridge/tc358767.c +++ b/drivers/gpu/drm/bridge/tc358767.c @@ -776,10 +776,6 @@ static int tc_main_link_enable(struct tc_data *tc) u8 tmp[8]; u32 error; - /* display mode should be set at this point */ - if (!tc->mode) - return -EINVAL; - dev_dbg(tc->dev, "link enable\n"); tc_write(DP0CTL, 0);
tc_main_link_enable() checks if videomode has been set, and fails if there's no videomode. As tc_main_link_enable() no longer depends on the videomode, we can drop the check. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> --- drivers/gpu/drm/bridge/tc358767.c | 4 ---- 1 file changed, 4 deletions(-)