Skip to content
Snippets Groups Projects
Commit fdb09d3e authored by Federico Vaga's avatar Federico Vaga Committed by Alessandro Rubini
Browse files

bugfix: clear ZTI_BUSY flag when trigger is disabled


When disabling a trigger, ZIO invokes t_op->abort() to stop acquisition.
If the abort function invokes data_done() to return partial
blocks, the ZTI_BUSY flag is correctly cleared. But, if the abort
function frees all active blocks the flag remains set.

With this patch, always clear the ZTI_BUSY flag when the trigger is
disabled so it is correct if/when the trigger is re-enabled.

Signed-off-by: default avatarFederico Vaga <federico.vaga@gmail.com>
Acked-by: default avatarAlessandro Rubini <rubini@gnudd.com>
parent f6581430
Branches
No related merge requests found
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