Skip to content
Commit 531183e5 authored by Zhao Chenhui's avatar Zhao Chenhui Committed by Wolfram Sang
Browse files

i2c-mpc: avoid I2C abnormal after resuming from deep sleep



When entering deep sleep, the value in the registers I2CFDR and
I2CDFSRR are lost. This causes I2C access to fail after resuming.

Add suspend/resume routines to save/restore the registers
I2CFDR and I2CDFSRR.

Signed-off-by: default avatarZhao Chenhui <chenhui.zhao@freescale.com>
Signed-off-by: default avatarLi Yang <leoli@freescale.com>
Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
parent ad337074
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment