Skip to content

Commit

Permalink
Fix dbg_sg call in remove_engines
Browse files Browse the repository at this point in the history
  • Loading branch information
Alain FLAISCHER committed Jun 1, 2017
1 parent 56f91dd commit 7d258f3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sdk/linux_kernel_drivers/edma/libxdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -2103,16 +2103,16 @@ static void remove_engines(struct xdma_dev *lro)
for (i = 0; i < XDMA_CHANNEL_NUM_MAX; i++) {
engine = &lro->engine_h2c[i];
if (engine->magic == MAGIC_ENGINE) {
dbg_sg("Remove %s, %d", engine->name, channel);
dbg_sg("Remove %s, %d", engine->name, engine->channel);
engine_destroy(lro, engine);
dbg_sg("%s, %d removed", engine->name, channel);
dbg_sg("%s, %d removed", engine->name, engine->channel);
}

engine = &lro->engine_c2h[i];
if (engine->magic == MAGIC_ENGINE) {
dbg_sg("Remove %s, %d", engine->name, channel);
dbg_sg("Remove %s, %d", engine->name, engine->channel);
engine_destroy(lro, engine);
dbg_sg("%s, %d removed", engine->name, channel);
dbg_sg("%s, %d removed", engine->name, engine->channel);
}
}
}
Expand Down

0 comments on commit 7d258f3

Please sign in to comment.