diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2013-08-16 11:40:55 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-08-27 15:08:11 -0400 |
commit | bd2fbf3a5602d9721b82e4fc71a68167f3a7ec86 (patch) | |
tree | ef67857553a91abe919ba167a20ed1b6309caf8e /drivers/dma/cppi41.c | |
parent | 4ff745710f830f53738324b88623a9b53f257f72 (diff) |
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>
Diffstat (limited to 'drivers/dma/cppi41.c')
-rw-r--r-- | drivers/dma/cppi41.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/cppi41.c b/drivers/dma/cppi41.c index 5dcebca37760..e69617889953 100644 --- a/drivers/dma/cppi41.c +++ b/drivers/dma/cppi41.c | |||
@@ -579,7 +579,7 @@ static int cppi41_tear_down_chan(struct cppi41_channel *c) | |||
579 | WARN_ON(!c->is_tx && !(pd0 & TD_DESC_IS_RX)); | 579 | WARN_ON(!c->is_tx && !(pd0 & TD_DESC_IS_RX)); |
580 | WARN_ON((pd0 & 0x1f) != c->port_num); | 580 | WARN_ON((pd0 & 0x1f) != c->port_num); |
581 | } else { | 581 | } else { |
582 | __WARN(); | 582 | WARN_ON_ONCE(1); |
583 | } | 583 | } |
584 | c->td_seen = 1; | 584 | c->td_seen = 1; |
585 | } | 585 | } |