diff --git a/sndiod/dev.c b/sndiod/dev.c index 9dc032f..7720e39 100644 --- a/sndiod/dev.c +++ b/sndiod/dev.c @@ -1214,6 +1214,8 @@ dev_done(struct dev *d) log_puts(": draining\n"); } #endif + if (d->tstate != MMC_STOP) + dev_mmcstop(d); if (d->hold) dev_unref(d); }