]> git.karo-electronics.de Git - linux-beck.git/commitdiff
dmaengine: pl330: fix wording in mcbufsz message
authorMichal Suchanek <hramrach@gmail.com>
Wed, 3 Jun 2015 21:26:41 +0000 (21:26 +0000)
committerVinod Koul <vinod.koul@intel.com>
Mon, 8 Jun 2015 11:04:38 +0000 (16:34 +0530)
The kernel is not trying to increase mcbufsz. It suggests you should try
doing so. Also print the calculated required size of mcbufsz.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/pl330.c

index 7e2714478e453fd00e52e70cf30cdf926074de0f..3781f327eedcb6ab16a919088dd9865716d8673e 100644 (file)
@@ -1424,8 +1424,8 @@ static int pl330_submit_req(struct pl330_thread *thrd,
                goto xfer_exit;
 
        if (ret > pl330->mcbufsz / 2) {
-               dev_info(pl330->ddma.dev, "%s:%d Trying increasing mcbufsz\n",
-                               __func__, __LINE__);
+               dev_info(pl330->ddma.dev, "%s:%d Try increasing mcbufsz (%i/%i)\n",
+                               __func__, __LINE__, ret, pl330->mcbufsz / 2);
                ret = -ENOMEM;
                goto xfer_exit;
        }