Commit 1e226773 authored by Christian Auby's avatar Christian Auby Committed by David S. Miller
Browse files

caif-hsi: Remove wake line modification when flushing FIFO

Raising wake before flushing FIFO and lowering it after caused a
spike on AC wake that were sometimes detected and acted upon by the
modem. Fixed this by remove wake line modification when flushing FIFO.
Signed-off-by: default avatarSjur Brændeland <>
Signed-off-by: default avatarDavid S. Miller <>
parent 87a11578
......@@ -117,15 +117,6 @@ static int cfhsi_flush_fifo(struct cfhsi *cfhsi)
dev_dbg(&cfhsi->ndev->dev, "%s.\n",
ret = cfhsi->dev->cfhsi_wake_up(cfhsi->dev);
if (ret) {
"%s: can't wake up HSI interface: %d.\n",
__func__, ret);
return ret;
do {
ret = cfhsi->dev->cfhsi_fifo_occupancy(cfhsi->dev,
......@@ -168,8 +159,6 @@ static int cfhsi_flush_fifo(struct cfhsi *cfhsi)
} while (1);
return ret;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment