Skip to content
Commit 95fb984f authored by Peter Marheine's avatar Peter Marheine Committed by Carles Cufí
Browse files

driver: i2c: npcx: prevent sleep during I2C transactions



Deep Sleep mode stops SMB module clocks which could interrupt ongoing
I2C transactions, so have the I2C driver acquire a PM lock at the
beginning of a transaction and release it at the end in order to ensure
the module remains active.

Signed-off-by: default avatarPeter Marheine <pmarheine@chromium.org>
Signed-off-by: default avatarJun Lin <CHLin56@nuvoton.com>
parent 2453e4de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment