static int dev_clear(const struct sr_dev_driver *di)
{
- return std_dev_clear(di, clear_helper);
+ return std_dev_clear_with_callback(di, clear_helper);
}
static int config_get(uint32_t key, GVariant **data, const struct sr_dev_inst *sdi,
devc = sdi->priv;
- sdi->status = SR_ST_INACTIVE;
-
return p_ols_close(devc);
}