mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
staging: android: ion: Ratelimit warning message
Ratelimit warning messages to prevent unnecessary log spam. Change-Id: I61f4a4b65f516650cd9324ccf087639d6ea27da1 Signed-off-by: Patrick Daly <pdaly@codeaurora.org> Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
This commit is contained in:
parent
2a54c015b8
commit
1c00dc6bef
1 changed files with 1 additions and 1 deletions
|
|
@ -378,7 +378,7 @@ static int ion_sgl_sync_range(struct device *dev, struct scatterlist *sgl,
|
|||
break;
|
||||
|
||||
if (i > 0) {
|
||||
pr_warn("Partial cmo only supported with 1 segment\n"
|
||||
pr_warn_ratelimited("Partial cmo only supported with 1 segment\n"
|
||||
"is dma_set_max_seg_size being set on dev:%s\n",
|
||||
dev_name(dev));
|
||||
return -EINVAL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue