summaryrefslogtreecommitdiff
path: root/drivers/net/caif
diff options
context:
space:
mode:
authorChristian Auby <christian.auby@stericsson.com>2011-12-06 12:15:41 +0000
committerDavid S. Miller <davem@davemloft.net>2011-12-06 17:21:46 -0500
commit1e226773c7e79051aa8a48258fe6ae61d20332bf (patch)
tree290c087b84bcb65832c46a70b860df497193d05f /drivers/net/caif
parent87a115783eca7a424eef599d6f10a499f85f59c8 (diff)
downloadlinux-3.10-1e226773c7e79051aa8a48258fe6ae61d20332bf.tar.gz
linux-3.10-1e226773c7e79051aa8a48258fe6ae61d20332bf.tar.bz2
linux-3.10-1e226773c7e79051aa8a48258fe6ae61d20332bf.zip
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: Sjur Brændeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/caif')
-rw-r--r--drivers/net/caif/caif_hsi.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/net/caif/caif_hsi.c b/drivers/net/caif/caif_hsi.c
index 073352517ad..a85b29e797f 100644
--- a/drivers/net/caif/caif_hsi.c
+++ b/drivers/net/caif/caif_hsi.c
@@ -117,15 +117,6 @@ static int cfhsi_flush_fifo(struct cfhsi *cfhsi)
dev_dbg(&cfhsi->ndev->dev, "%s.\n",
__func__);
-
- ret = cfhsi->dev->cfhsi_wake_up(cfhsi->dev);
- if (ret) {
- dev_warn(&cfhsi->ndev->dev,
- "%s: can't wake up HSI interface: %d.\n",
- __func__, ret);
- return ret;
- }
-
do {
ret = cfhsi->dev->cfhsi_fifo_occupancy(cfhsi->dev,
&fifo_occupancy);
@@ -168,8 +159,6 @@ static int cfhsi_flush_fifo(struct cfhsi *cfhsi)
}
} while (1);
- cfhsi->dev->cfhsi_wake_down(cfhsi->dev);
-
return ret;
}