Re: [PATCH v3 2/5] spi: spi-nxp-fspi: enable runtime pm for fspi

From: ALOK TIWARI
Date: Wed Apr 30 2025 - 15:31:01 EST




On 28-04-2025 15:36, Haibo Chen wrote:
@@ -1249,29 +1272,70 @@ static void nxp_fspi_remove(struct platform_device *pdev)
{
struct nxp_fspi *f = platform_get_drvdata(pdev);
+ /* enable clock first since there is reigster access */

typo reigster -> register

+ pm_runtime_get_sync(f->dev);
+
/* disable the hardware */
fspi_writel(f, FSPI_MCR0_MDIS, f->iobase + FSPI_MCR0);

Thanks,
Alok