Skip to content

Commit c4c632e

Browse files
committed
drivers: spi: Call cpu_latency_qos_*() instead of pm_qos_*()
Call cpu_latency_qos_add/remove_request() instead of pm_qos_add/remove_request(), respectively, because the latter are going to be dropped. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Ulf Hansson <[email protected]> Reviewed-by: Amit Kucheria <[email protected]> Tested-by: Amit Kucheria <[email protected]>
1 parent 81e95ad commit c4c632e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/spi/spi-fsl-qspi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,15 +484,15 @@ static int fsl_qspi_clk_prep_enable(struct fsl_qspi *q)
484484
}
485485

486486
if (needs_wakeup_wait_mode(q))
487-
pm_qos_add_request(&q->pm_qos_req, PM_QOS_CPU_DMA_LATENCY, 0);
487+
cpu_latency_qos_add_request(&q->pm_qos_req, 0);
488488

489489
return 0;
490490
}
491491

492492
static void fsl_qspi_clk_disable_unprep(struct fsl_qspi *q)
493493
{
494494
if (needs_wakeup_wait_mode(q))
495-
pm_qos_remove_request(&q->pm_qos_req);
495+
cpu_latency_qos_remove_request(&q->pm_qos_req);
496496

497497
clk_disable_unprepare(q->clk);
498498
clk_disable_unprepare(q->clk_en);

0 commit comments

Comments
 (0)