On 06/02/2017 at 15:35:55 +0100, Ludovic Desroches wrote:
> On Mon, Jan 30, 2017 at 06:25:33PM +0100, Alexandre Belloni wrote:
> > When going to suspend, the I2C registers may be lost because the power to
> > VDDcore is cut. Save them and restore them when resuming.
> >
> > Signed-off-by: Alexandr
Hi,
I add Cyrille for FIFO part.
On Mon, Jan 30, 2017 at 06:25:33PM +0100, Alexandre Belloni wrote:
> When going to suspend, the I2C registers may be lost because the power to
> VDDcore is cut. Save them and restore them when resuming.
>
> Signed-off-by: Alexandre Belloni
> ---
> drivers/i2c/b
> + at91_init_twi_bus(twi_dev);
Can't this function reinit the registers to the needed values? I am not
convinced that a cache will always reflect the proper state after
resume.
signature.asc
Description: PGP signature
When going to suspend, the I2C registers may be lost because the power to
VDDcore is cut. Save them and restore them when resuming.
Signed-off-by: Alexandre Belloni
---
drivers/i2c/busses/i2c-at91.c | 24
1 file changed, 24 insertions(+)
diff --git a/drivers/i2c/busses/
4 matches
Mail list logo