diff options
author | Christian Auby <christian.auby@stericsson.com> | 2011-12-06 07:15:41 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-06 17:21:46 -0500 |
commit | 1e226773c7e79051aa8a48258fe6ae61d20332bf (patch) | |
tree | 290c087b84bcb65832c46a70b860df497193d05f /drivers/net/caif | |
parent | 87a115783eca7a424eef599d6f10a499f85f59c8 (diff) |
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.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/net/caif/caif_hsi.c b/drivers/net/caif/caif_hsi.c index 073352517adc..a85b29e797f0 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) | |||
117 | dev_dbg(&cfhsi->ndev->dev, "%s.\n", | 117 | dev_dbg(&cfhsi->ndev->dev, "%s.\n", |
118 | __func__); | 118 | __func__); |
119 | 119 | ||
120 | |||
121 | ret = cfhsi->dev->cfhsi_wake_up(cfhsi->dev); | ||
122 | if (ret) { | ||
123 | dev_warn(&cfhsi->ndev->dev, | ||
124 | "%s: can't wake up HSI interface: %d.\n", | ||
125 | __func__, ret); | ||
126 | return ret; | ||
127 | } | ||
128 | |||
129 | do { | 120 | do { |
130 | ret = cfhsi->dev->cfhsi_fifo_occupancy(cfhsi->dev, | 121 | ret = cfhsi->dev->cfhsi_fifo_occupancy(cfhsi->dev, |
131 | &fifo_occupancy); | 122 | &fifo_occupancy); |
@@ -168,8 +159,6 @@ static int cfhsi_flush_fifo(struct cfhsi *cfhsi) | |||
168 | } | 159 | } |
169 | } while (1); | 160 | } while (1); |
170 | 161 | ||
171 | cfhsi->dev->cfhsi_wake_down(cfhsi->dev); | ||
172 | |||
173 | return ret; | 162 | return ret; |
174 | } | 163 | } |
175 | 164 | ||