aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@systec-electronic.com>2014-03-25 03:10:32 -0400
committerMark Brown <broonie@linaro.org>2014-03-25 14:55:48 -0400
commit342451df07109f865e6c108b7205e9738e814f3f (patch)
tree2992776b3320af8b1a9fb2d2a46e591b6b092ec8 /drivers/spi
parentb86e81d9a7d28a658904d8b14da7b5cb0d8f8a21 (diff)
spi: topcliff-pch: Transform noisy message to dev_vdbg
If during a SPI transfer with len larger than PCH_MAX_FIFO_DEPTH and the IRQ handler happens to be called when the transmit FIFO is already empty, and SPSR_FI_BIT is set consequently, the message "spi_master spi32766: pch_spi_handler_sub : Transfer is not completed" is spammed to the systemlog, because tx_index has already increased further due to the next bytes to be written. This case is uncritical as new bytes have already been written. Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi')
-rw-r--r--drivers/spi/spi-topcliff-pch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-topcliff-pch.c b/drivers/spi/spi-topcliff-pch.c
index 372811aa5fb2..8fa1a6cbc42b 100644
--- a/drivers/spi/spi-topcliff-pch.c
+++ b/drivers/spi/spi-topcliff-pch.c
@@ -332,7 +332,7 @@ static void pch_spi_handler_sub(struct pch_spi_data *data, u32 reg_spsr_val,
332 data->transfer_active = false; 332 data->transfer_active = false;
333 wake_up(&data->wait); 333 wake_up(&data->wait);
334 } else { 334 } else {
335 dev_err(&data->master->dev, 335 dev_vdbg(&data->master->dev,
336 "%s : Transfer is not completed", 336 "%s : Transfer is not completed",
337 __func__); 337 __func__);
338 } 338 }