]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mmc: tmio_dma: remove debug messages with little information
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 22 Jan 2016 14:51:59 +0000 (15:51 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 29 Feb 2016 10:03:03 +0000 (11:03 +0100)
When compiling the driver with CONFIG_MMC_DEBUG set, I got build
warnings. They have been 'fixed' meanwhile. However, because these debug
messages look random anyhow (some duplicate information printed etc),
let's just drop them and rather re-add something consistent if that
should ever be needed.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/tmio_mmc_dma.c

index 4a0d6b80eaa374e7749081c7f966ce85379ad3e2..675435873823126170602156ff99ca385e451d18 100644 (file)
@@ -94,10 +94,7 @@ static void tmio_mmc_start_dma_rx(struct tmio_mmc_host *host)
                        desc = NULL;
                        ret = cookie;
                }
-               dev_dbg(&host->pdev->dev, "%s(): mapped %d -> %d, cookie %d, rq %p\n",
-                       __func__, host->sg_len, ret, cookie, host->mrq);
        }
-
 pio:
        if (!desc) {
                /* DMA failed, fall back to PIO */
@@ -115,9 +112,6 @@ pio:
                dev_warn(&host->pdev->dev,
                         "DMA failed: %d, falling back to PIO\n", ret);
        }
-
-       dev_dbg(&host->pdev->dev, "%s(): desc %p, sg[%d]\n", __func__,
-               desc, host->sg_len);
 }
 
 static void tmio_mmc_start_dma_tx(struct tmio_mmc_host *host)
@@ -174,10 +168,7 @@ static void tmio_mmc_start_dma_tx(struct tmio_mmc_host *host)
                        desc = NULL;
                        ret = cookie;
                }
-               dev_dbg(&host->pdev->dev, "%s(): mapped %d -> %d, cookie %d, rq %p\n",
-                       __func__, host->sg_len, ret, cookie, host->mrq);
        }
-
 pio:
        if (!desc) {
                /* DMA failed, fall back to PIO */
@@ -195,8 +186,6 @@ pio:
                dev_warn(&host->pdev->dev,
                         "DMA failed: %d, falling back to PIO\n", ret);
        }
-
-       dev_dbg(&host->pdev->dev, "%s(): desc %p\n", __func__, desc);
 }
 
 void tmio_mmc_start_dma(struct tmio_mmc_host *host,