Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6652157rwb; Tue, 15 Nov 2022 01:30:17 -0800 (PST) X-Google-Smtp-Source: AA0mqf7lCTwdsBFj2LCZtGxSnoRihTzIs6DdQ8la1bw5q4jpY4oubMMsUD8WR5e4h5htS7IPt4h3 X-Received: by 2002:a17:90a:4a95:b0:213:8283:ac7f with SMTP id f21-20020a17090a4a9500b002138283ac7fmr1230921pjh.220.1668504616930; Tue, 15 Nov 2022 01:30:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668504616; cv=none; d=google.com; s=arc-20160816; b=Ov37bH7WnyUGtG5iAlML/D7HPLI2mPj3kNqwkL9/5GAI3jjpdhGfii05MdSdDo+/gj fqHMX5wNn8yj55dUhOJb9AoLgFHKUjQLwUbGRcK51YjMjTBW1AuXH6b94BRqz+yPzwjQ PF+yE6T8wprXteOstG07+YUj7w3fKA6Via0VZv0EObsbUvsH1M6lEo2OkVCMxYf8fOK7 a3jLEHfjPiyH1u9Oz5chnp+45nawL4DNf/ajnKbnPywvpKL9PjPXZo/52e4LTE8frfVG ie1NuqSnq3V2qegIwkfnzF9VfzOBPNuQgIuIA4d6bWlC4X9WJYKAi3vF6fUuNVy8JtJO aF9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=yKC6E4hT91afjosovCDsP6rLhDJyelPpRXQXl4YPz8s=; b=DOVpqfcsd6d4Bqp6SCwZ7F/eTLgv5ubPrhBGwUa3qz5rKXsyd6Q/SU4foORi5KwQn1 7k+i0bBIGOUZ7eVEOcVp0/UfjO0V74GnFNpkIJu1dzpK3t9BTeiqTneLMkMMCcW8H0IR 1tmd/CTtSah04Yq1mqe5qYzwLrpaseelXzAZWrZHr+9JNI9zcm5vOcukXrBQErd+jeH/ c7iGD4mfsh6bMTDftedoOwsSB5bQ8jov7kmG24t8o4PV+LpXin0FaUmik3GIWOj9FL9f 5gD0zIBqdDLxcKPJex+D3eet3M0WVJwIt2LXTaNMUTGGxioA1D9qcI1Rmz21EQEjvul7 Z6wA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jjbRR2dG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u26-20020a63141a000000b00476a84ecadesi2125963pgl.444.2022.11.15.01.30.04; Tue, 15 Nov 2022 01:30:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=jjbRR2dG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232686AbiKOIjl (ORCPT + 88 others); Tue, 15 Nov 2022 03:39:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230120AbiKOIjj (ORCPT ); Tue, 15 Nov 2022 03:39:39 -0500 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3ADC5582 for ; Tue, 15 Nov 2022 00:39:37 -0800 (PST) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2AF8dMlM108203; Tue, 15 Nov 2022 02:39:22 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1668501562; bh=yKC6E4hT91afjosovCDsP6rLhDJyelPpRXQXl4YPz8s=; h=From:To:CC:Subject:Date; b=jjbRR2dGloRFw0iG0t/ZmgLq5X9rQmlpQntJ4NztfrbJkubyIvqZXgif6zk1uztSI 2ofUZJB5zBn8OZ8EQZMZiCnUxsCPHpuHpXjH+0qR4JDEWfaVUYOFNMJh7SHgp6mSej pk64XRk9t0Goo5bvLZwUbhj0ngnRwvML4aPGqoU0= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2AF8dMbe046360 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 15 Nov 2022 02:39:22 -0600 Received: from DFLE109.ent.ti.com (10.64.6.30) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Tue, 15 Nov 2022 02:39:22 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Tue, 15 Nov 2022 02:39:22 -0600 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2AF8dL05029656; Tue, 15 Nov 2022 02:39:21 -0600 From: Rahul T R To: CC: , , , , , , , , , , , , , Rahul T R Subject: [PATCH] drm/bridge: cdns-dsi: Fix issue with phy init Date: Tue, 15 Nov 2022 14:09:18 +0530 Message-ID: <20221115083918.23192-1-r-ravikumar@ti.com> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Phy is not being initialized after suspend resume. Fix this by setting phy_initialized flag to false in suspend callback Signed-off-by: Rahul T R --- drivers/gpu/drm/bridge/cdns-dsi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bridge/cdns-dsi.c b/drivers/gpu/drm/bridge/cdns-dsi.c index 20bece84ff8c..1a988f53424a 100644 --- a/drivers/gpu/drm/bridge/cdns-dsi.c +++ b/drivers/gpu/drm/bridge/cdns-dsi.c @@ -1187,6 +1187,7 @@ static int __maybe_unused cdns_dsi_suspend(struct device *dev) clk_disable_unprepare(dsi->dsi_p_clk); reset_control_assert(dsi->dsi_p_rst); dsi->link_initialized = false; + dsi->phy_initialized = false; return 0; } -- 2.38.0