From patchwork Mon Apr 17 09:10:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dhruva Gole X-Patchwork-Id: 13213484 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 A3486C77B72 for ; Mon, 17 Apr 2023 09:11:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=pYKJnfOf6JFlgXleepdHHdU3UztWqOrcmDEebwOJmsE=; b=a10QRr5o+jEnMf X1qdCELTvbGM9ojO52cXMM8YZ+ZKI6J4+W9vyEuer649jD7Ht5Fh/v6Dd++UwTDrkc1+Yd7jdLkxO V8Pes4YBpAMC7Qx2/yIZsmBSVdS/o43Rlr2lu07JlJdg3anO2mhvqRLl+9xTpTrMC2I7cQdeMxVC9 dhcPZArXTEMkT5pGgevxe6RS0+DP8HUdDrE24lzL/8Az7GXuc/eT0XZBXVRy5uyeacIWlpjY1Avjo QSlQfLRUU6/ixknNtT609OGacUjfYDU6eWxofOsPhgdMRe9gEgxEznamfp09Ta7HKdcT+ZcJcXQCD ETJp8XOo/iEiNsct0yKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1poKsn-00FThJ-2W; Mon, 17 Apr 2023 09:10:45 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1poKsk-00FTga-28 for linux-arm-kernel@lists.infradead.org; Mon, 17 Apr 2023 09:10:44 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 33H9Ab2N045408; Mon, 17 Apr 2023 04:10:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1681722637; bh=HvfshV2DaF4y/7Pn92rbhH1Jy3vWXTr4qUArdBBWy9g=; h=From:To:CC:Subject:Date; b=t/CcLTpshcqNO2tgWFexz72wpDMvDF6O9wTaIMcLRSoYiuSLS3gR45LyxIXvGC5gU T/dT/nchp+caJiWagLqvoGDUgzY5rfRgTEeRfiyvOnS65tesXcPxLwk2lq29Nxxphm 289zRg05JLuXR75c6zTSNrR7nxNs8EhNYTxasdCw= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 33H9Aaq3014555 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 17 Apr 2023 04:10:37 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) 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.16; Mon, 17 Apr 2023 04:10:36 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Mon, 17 Apr 2023 04:10:36 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 33H9AZWG027016; Mon, 17 Apr 2023 04:10:36 -0500 From: Dhruva Gole To: Mark Brown CC: Dhruva Gole , Vaishnav Achath , Vignesh , Apurva Nandan , , Subject: [PATCH 0/2] Fix PM Hooks in the Cadence Quad SPI Driver Date: Mon, 17 Apr 2023 14:40:25 +0530 Message-ID: <20230417091027.966146-1-d-gole@ti.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230417_021042_804016_AABD9448 X-CRM114-Status: UNSURE ( 7.15 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series adds fixes to the Suspend and Resume Hooks of the CQSPI Driver. Earlier, the ltp-ddt test "OSPI_S_FUNC_DD_RW_ERASESIZE_UBIFS" failed post system suspend resume. It is now passing as shown in [0]. Tested on top of linux-next (next-20230414) on an AM625-SK-EVM. For logs, please refer [0]. [0] https://gist.github.com/DhruvaG2000/29b15f9c8a1e632c6819a986e5f28ab2 Dhruva Gole (2): spi: cadence-quadspi: use macro SIMPLE_DEV_PM_OPS spi: cadence-quadspi: fix suspend-resume implementations drivers/spi/spi-cadence-quadspi.c | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-)