commit | a9eb186e13144782232cc6fa731441be54baf505 | [log] [tgz] |
---|---|---|
author | Joseph Lo <josephl@nvidia.com> | Fri Dec 16 18:57:36 2016 +0100 |
committer | Lee Jones <lee.jones@linaro.org> | Mon Feb 13 09:29:42 2017 +0000 |
tree | 84516b09ee9f92af21eec842db5cd9efb85df9dc | |
parent | 0f1747692ccc06fff9a5eb975b2a5cf92cec4030 [diff] |
mfd: cros_ec: Prevent data transfer while device is suspended The cros_ec driver is still active while the device is suspended. Besides that, it also tries to transfer data even after the I2C host had been suspended. This patch uses a simple flag to prevent this. Signed-off-by: Joseph Lo <josephl@nvidia.com> Signed-off-by: Thierry Escande <thierry.escande@collabora.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>