]> 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)
commitc7847854c527292165b477d985861d8899e6cd11
tree6f234433285f070139bdb7478346a51abde4bc69
parent401e6f266af5c7735cda1e75c121501ef40587b0
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