]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: stm32f7: add PM_SLEEP suspend/resume support
authorAlain Volmat <alain.volmat@st.com>
Mon, 6 Jan 2020 13:28:32 +0000 (14:28 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 30 Jan 2020 08:34:26 +0000 (09:34 +0100)
commit3c41833cce00fb8ee8aebe3acd1796d8ac1492a6
tree6f234433285f070139bdb7478346a51abde4bc69
parent66aec78ccf2d6640f562fe128a7466cbf957269a
i2c: stm32f7: add PM_SLEEP suspend/resume support

Backup/restore I2C registers as part of the suspend/resume
handlers. The device is marked as suspended to ensure that
transfers are rejected during the suspended period.

Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Alain Volmat <alain.volmat@st.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-stm32f7.c