Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5489d5e authored by Michal Suchanek's avatar Michal Suchanek Committed by Vinod Koul
Browse files

dmaengine: pl330: fix wording in mcbufsz message



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: default avatarMichal Suchanek <hramrach@gmail.com>
Reviewed-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 0a45dcab
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
	}