[PATCH 0/2] platform: chrome: Simplify interrupt path

From: Gwendal Grignou
Date: Thu Dec 10 2020 - 18:00:06 EST


Irrespective of the transport (i2c, spi, ish, rpmsg), have all cros ec
interrupt stack call the threaded part (bottom half) of the interrupt
handler.
Fix an issue where EC could be stuck if it sends a message while the AP
is not powered on.

Gwendal Grignou (2):
platform: cros_ec: Call interrupt bottom half in ISH or RPMSG mode
platform: cros_ec: Call interrupt bottom half at probe time

drivers/platform/chrome/cros_ec.c | 33 +++++++++++++++++----
drivers/platform/chrome/cros_ec_ishtp.c | 6 +---
drivers/platform/chrome/cros_ec_rpmsg.c | 6 +---
include/linux/platform_data/cros_ec_proto.h | 3 +-
4 files changed, 31 insertions(+), 17 deletions(-)

--
2.29.2.576.ga3fc446d84-goog