Hi, Please find attached a patch which improves intel_mid_i2s_flush by removing unnecessary dev_warn.
Thanks, Selma. >From 7a072a6d5cdf4af52a8a5f3a5c6c75f3a2276ce5 Mon Sep 17 00:00:00 2001 From: Selma Bensaid <[email protected]> Date: Fri, 3 Dec 2010 17:34:24 +0100 Subject: [PATCH 1/3] 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 <[email protected]> --- sound/pci/intel_mid_i2s/intel_mid_i2s.c | 3 +-- 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 3fcd060..7c96446 100644 --- a/sound/pci/intel_mid_i2s/intel_mid_i2s.c +++ b/sound/pci/intel_mid_i2s/intel_mid_i2s.c @@ -207,7 +207,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 @@ -222,7 +222,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 -- 1.7.2.3 --------------------------------------------------------------------- Intel Corporation SAS (French simplified joint stock company) Registered headquarters: "Les Montalets"- 2, rue de Paris, 92196 Meudon Cedex, France Registration Number: 302 456 199 R.C.S. NANTERRE Capital: 4,572,000 Euros This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
0001-Intel-MID-I2S-improve-intel_mid_i2s_flush-by-removin.patch
Description: 0001-Intel-MID-I2S-improve-intel_mid_i2s_flush-by-removin.patch
_______________________________________________ MeeGo-kernel mailing list [email protected] http://lists.meego.com/listinfo/meego-kernel
