mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
dma: cpp41: make it compile with CONFIG_BUG=n
Before Randy figures out that this does not compile with CONFIG_BUG=n here is a fix for it. Acked-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
4ff745710f
commit
bd2fbf3a56
1 changed files with 1 additions and 1 deletions
|
@ -579,7 +579,7 @@ static int cppi41_tear_down_chan(struct cppi41_channel *c)
|
|||
WARN_ON(!c->is_tx && !(pd0 & TD_DESC_IS_RX));
|
||||
WARN_ON((pd0 & 0x1f) != c->port_num);
|
||||
} else {
|
||||
__WARN();
|
||||
WARN_ON_ONCE(1);
|
||||
}
|
||||
c->td_seen = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue