}
mutex_lock(powd->mutex);
- ret = btr_node_status(wn->btrn, wn->min_iqs, BTR_NT_LEAF);
+ ret = btr_node_status(wn->btrn, wn->min_iqs, BTR_NT_INTERNAL);
if (ret < 0)
drain_delay_nec = need_drain_delay(powd);
mutex_unlock(powd->mutex);
AudioOutputUnitStart(powd->audio_unit);
}
mutex_lock(powd->mutex);
- btr_pushdown(btrn);
- ret = btr_node_status(btrn, wn->min_iqs, BTR_NT_LEAF);
+ ret = btr_node_status(btrn, wn->min_iqs, BTR_NT_INTERNAL);
+ if (ret > 0)
+ btr_pushdown(btrn);
if (ret < 0 && need_drain_delay(powd))
ret = 0;
mutex_unlock(powd->mutex);