Commit 5afa79c0 authored by Federico Vaga's avatar Federico Vaga

fa-zio-trg.c: add abort trigger operations

Signed-off-by: 's avatarFederico Vaga <federico.vaga@gmail.com>
parent b2a6102f
......@@ -350,11 +350,15 @@ out:
zio_free_control(ctrl);
interleave->active_block = NULL;
}
/*
* Abort depends on the state machine status and DMA status.*/
/* Abort depends on the state machine status and DMA status.*/
static void zfat_abort(struct zio_cset *cset)
{
struct zio_block *block = cset->interleave->active_block;
struct zio_buffer_type *zbuf = cset->zbuf;
struct zio_bi *bi = cset->interleave->bi;
zbuf->b_op->free_block(bi, block);
}
static const struct zio_trigger_operations zfat_ops = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment