mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 17:23:11 +00:00
The suspend and resume hooks in the spi_driver_api struct are relics from before the current power management infrastructure was in place. The correct way to implement this now is through the device_pm_ops struct, by way of the DEFINE_DEVICE_PM_OPS and DEVICE_AND_API_INIT_PM macros, which make the hooks available through a generic mechanism for all devices, rather than using per-type APIs. Since the existing spi_suspend() and spi_resume() functions don't check if the driver_api hooks are NULL, there's now a place holder function to prevent breaking functionality until the hooks are removed. Change-Id: I48287c58e9a8649d3e1be7547e3d0d293c84327a Signed-off-by: Iván Briano <ivan.briano@intel.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Kconfig.dw | ||
Makefile | ||
spi_dw_quark_se_ss_regs.h | ||
spi_dw_regs.h | ||
spi_dw.c | ||
spi_dw.h | ||
spi_intel.c | ||
spi_intel.h | ||
spi_k64_priv.h | ||
spi_k64.c | ||
spi_qmsi_ss.c | ||
spi_qmsi.c |