fpi-ssm: Add debug message when a delayed state change is cancelled
This commit is contained in:
parent
299a797423
commit
0471edbf10
1 changed files with 6 additions and 0 deletions
|
@ -213,6 +213,9 @@ on_delayed_action_cancelled (GCancellable *cancellable,
|
|||
{
|
||||
CancelledActionIdleData *data;
|
||||
|
||||
fp_dbg ("[%s] %s cancelled delayed state change",
|
||||
fp_device_get_driver (machine->dev), machine->name);
|
||||
|
||||
g_clear_pointer (&machine->timeout, g_source_destroy);
|
||||
|
||||
data = g_new0 (CancelledActionIdleData, 1);
|
||||
|
@ -469,6 +472,9 @@ fpi_ssm_cancel_delayed_state_change (FpiSsm *machine)
|
|||
BUG_ON (machine->completed);
|
||||
BUG_ON (machine->timeout == NULL);
|
||||
|
||||
fp_dbg ("[%s] %s cancelled delayed state change",
|
||||
fp_device_get_driver (machine->dev), machine->name);
|
||||
|
||||
fpi_ssm_clear_delayed_action (machine);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue