aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSelma Bensaid <selma.bensaid@intel.com>2010-12-09 10:37:47 +0000
committerAlan Cox <alan@linux.intel.com>2010-12-09 10:37:47 +0000
commit64b02d9bea7664b795d17ed93b6cad0077cc703d (patch)
tree0cf8832ff137bfdabfd606d675abc06601e8bd80
parent9fe2a07ba46d39cbf13f01b17ed6fa0845d7d354 (diff)
downloadmrst-s0i3-test-64b02d9bea7664b795d17ed93b6cad0077cc703d.tar.gz
mrst-s0i3-test-64b02d9bea7664b795d17ed93b6cad0077cc703d.tar.xz
mrst-s0i3-test-64b02d9bea7664b795d17ed93b6cad0077cc703d.zip
Intel MID I2S: improve intel_mid_i2s_flush by removing unnecessary dev_warn
When Intel MID I2S is flushing the SSP due to de-synchronization with the Modem we observed a lot of unnecessary logs Signed-off-by: Selma Bensaid <selma.bensaid@intel.com> Signed-off-by: Alan Cox <alan@linux.intel.com>
-rw-r--r--sound/pci/intel_mid_i2s/intel_mid_i2s.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/pci/intel_mid_i2s/intel_mid_i2s.c b/sound/pci/intel_mid_i2s/intel_mid_i2s.c
index 8433429cb8f..c206d406c5b 100644
--- a/sound/pci/intel_mid_i2s/intel_mid_i2s.c
+++ b/sound/pci/intel_mid_i2s/intel_mid_i2s.c
@@ -213,7 +213,7 @@ int intel_mid_i2s_flush(struct intel_mid_i2s_hdl *drv_data)
return 0;
reg = drv_data->ioaddr;
sssr = read_SSSR(reg);
- dev_dbg(&drv_data->pdev->dev, "in flush sssr=0x%08X\n", sssr);
+ dev_warn(&drv_data->pdev->dev, "in flush sssr=0x%08X\n", sssr);
/*
* Flush "by hand" was generating spurious DMA SERV REQUEST
* from SSP to DMA => then buggy retrieval of data for next dma_req
@@ -228,7 +228,6 @@ int intel_mid_i2s_flush(struct intel_mid_i2s_hdl *drv_data)
&& (num < FIFO_SIZE)) {
data = read_SSDR(reg);
num++;
- dev_warn(&drv_data->pdev->dev, "flush(%u)=%u\n", num, data);
}
/* Enable: RX Service Request from RX fifo to DMA
* as flush by hand is done