summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chip/lm4/lpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/lm4/lpc.c b/chip/lm4/lpc.c
index 6bab4fb761..0f3e9b8b1c 100644
--- a/chip/lm4/lpc.c
+++ b/chip/lm4/lpc.c
@@ -473,8 +473,8 @@ static void handle_acpi_write(int is_cmd)
*/
static void handle_host_write(int is_cmd)
{
- /* Ignore data writes */
- if (!is_cmd) {
+ /* Ignore data writes or overlapping commands from host */
+ if (!is_cmd || (LM4_LPC_ST(LPC_CH_CMD) & LM4_LPC_ST_BUSY)) {
LM4_LPC_ST(LPC_CH_CMD) &= ~LM4_LPC_ST_FRMH;
return;
}