zephyr/drivers/spi
Iván Briano bce65437c0 spi: intel: Move suspend and resume hooks to pm_ops
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>
2016-07-29 23:10:09 +00:00
..
Kconfig Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
Kconfig.dw Cleanup whitespace in Kconfig files 2016-05-25 13:28:07 -05:00
Makefile
spi_dw_quark_se_ss_regs.h
spi_dw_regs.h
spi_dw.c
spi_dw.h spi: can use a tx threshold of 50% 2016-05-26 17:34:32 +00:00
spi_intel.c spi: intel: Move suspend and resume hooks to pm_ops 2016-07-29 23:10:09 +00:00
spi_intel.h
spi_k64_priv.h
spi_k64.c spi: k64: Move suspend and resume hooks to pm_ops 2016-07-29 23:10:09 +00:00
spi_qmsi_ss.c ext qmsi: Update to QMSI 1.1-Beta 2016-07-01 13:43:02 -07:00
spi_qmsi.c spi: Use locking mechanism to guard critical regions. 2016-05-26 21:41:00 +00:00