Re: [PATCH] spi: cadence-quadspi: Fix clock enable underflows due to runtime PM
From: Dutta, Anurag
Date: Fri Dec 12 2025 - 02:14:38 EST
On 12-12-2025 11:37, Mark Brown wrote:
On Fri, Dec 12, 2025 at 10:04:47AM +0530, Dutta, Anurag wrote:ok, will remove this :
BTW note that we do need to have a clock disable for the case whereLet me send a patch with pm_runtime_get_sync(). If changes are required,
please let me know.
CQSPI_DISABLE_RUNTIME_PM is quirked in as well as the with/without
runtime PM cases.
if (!(ddata && (ddata->quirks & CQSPI_DISABLE_RUNTIME_PM)))
because pm_runtime_get_sync() >=0 will be true even if
pm_runtime_enable() is never invoked.