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)
commitea6dd25deeb5b797a145be7f860e3085e7d104c3
tree6f234433285f070139bdb7478346a51abde4bc69
parent9253975bcba65bece2d982db06bb959186ec7780
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