aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorThéo Lebrun <[email protected]>2024-02-22 10:12:32 +0000
committerMark Brown <[email protected]>2024-02-22 12:25:10 +0000
commit078d62de433b4f4556bb676e5dd670f0d4103376 (patch)
treeab69c468c02e7dfd3079e5d3ac68298bea3ede46 /drivers/net/ethernet/intel/ice/ice_main.c
parentspi: cadence-qspi: put runtime in runtime PM hooks names (diff)
downloadkernel-078d62de433b4f4556bb676e5dd670f0d4103376.tar.gz
kernel-078d62de433b4f4556bb676e5dd670f0d4103376.zip
spi: cadence-qspi: add system-wide suspend and resume callbacks
Each SPI controller is expected to call the spi_controller_suspend() and spi_controller_resume() callbacks at system-wide suspend and resume. It (1) handles the kthread worker for queued controllers and (2) marks the controller as suspended to have spi_sync() fail while the controller is unavailable. Those two operations do not require the controller to be active, we do not need to increment the runtime PM usage counter. Signed-off-by: Théo Lebrun <[email protected]> Link: https://msgid.link/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions