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

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



When CONFIG_SYS_POWER_DEEP_SLEEP is enabled, i2c_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 i2c_qmsi_ss driver to indicate that
the device is busy and block the system from entering deep
sleep during transaction.

Jira: ZEP-1487

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