[PATCH v2 2/8] mfd: cros_ec_i2c: move the system sleep pm ops to late

2017-08-11 Thread Thierry Escande
From: Joseph Lo The cros_ec_i2c driver is still active after it had suspended or before it resumes. Besides that, it also tried to transfer data even after the I2C host had been suspended. This leads the system to crash. During the test, we also observed that the EC needs to

[PATCH v2 2/8] mfd: cros_ec_i2c: move the system sleep pm ops to late

2017-08-11 Thread Thierry Escande
From: Joseph Lo The cros_ec_i2c driver is still active after it had suspended or before it resumes. Besides that, it also tried to transfer data even after the I2C host had been suspended. This leads the system to crash. During the test, we also observed that the EC needs to be resumed earlier