Skip to content
Commit b549e0fb authored by Qiu Peiyang's avatar Qiu Peiyang Committed by Anas Nashif
Browse files

spi_qmsi_ss: add device_busy_set() to avoid re-enter deep sleep



When CONFIG_SYS_POWER_DEEP_SLEEP is enabled, spi_qmsi_ss will
keep entering deep sleep because it needs to wait until the
current transfer completes, which blocks the current thread.
The system keeps entering deep sleep again and again and the
transfer will never complete.

Add device_busy_set() to spi_qmsi_ss driver to indicate that
the device is busy and block the system from entering deep
sleep during transaction.

Jira: ZEP-1488

Change-Id: I5a4456933249def93eaa529b30b99d730af74482
Signed-off-by: default avatarQiu Peiyang <peiyangx.qiu@intel.com>
parent e4ad31a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment