mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 15:12:59 +02:00
dmaengine: pl330: fix error message to dev_err_ratelimited
Change-Id: I4d1191f5b7d330c2786eaac42213b4d255b05db8 Signed-off-by: Xu Jianqun <jay.xu@rock-chips.com>
This commit is contained in:
parent
df9708384f
commit
e25503f147
|
|
@ -1616,8 +1616,8 @@ static int pl330_update(struct pl330_dmac *pl330)
|
|||
if (pl330->pcfg.num_events < 32
|
||||
&& val & ~((1 << pl330->pcfg.num_events) - 1)) {
|
||||
pl330->dmac_tbd.reset_dmac = true;
|
||||
dev_err(pl330->ddma.dev, "%s:%d Unexpected!\n", __func__,
|
||||
__LINE__);
|
||||
dev_err_ratelimited(pl330->ddma.dev, "%s:%d Unexpected!\n",
|
||||
__func__, __LINE__);
|
||||
ret = 1;
|
||||
goto updt_exit;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user