commit | 531183e5d27312d68fab40352cd13426aa761473 | [log] [tgz] |
---|---|---|
author | Zhao Chenhui <chenhui.zhao@freescale.com> | Thu Apr 19 17:51:34 2012 +0800 |
committer | Wolfram Sang <w.sang@pengutronix.de> | Sat May 12 14:28:12 2012 +0200 |
tree | 3e6ebe9104413dd8cae0fa85f04259364d2397ac | |
parent | ad33707417e4fa3dd4b12f9ed912e2349a984026 [diff] |
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: Zhao Chenhui <chenhui.zhao@freescale.com> Signed-off-by: Li Yang <leoli@freescale.com> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>