Ignore:
Timestamp:
Apr 21, 2017, 4:28:29 AM (5 weeks ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-3.18/sound/core/seq/seq_fifo.c

    r29205 r31885  
    7070                return;
    7171        *fifo = NULL;
     72
     73        if (f->pool)
     74                snd_seq_pool_mark_closing(f->pool);
    7275
    7376        snd_seq_fifo_clear(f);
     
    260263        spin_unlock_irqrestore(&f->lock, flags);
    261264
     265        /* close the old pool and wait until all users are gone */
     266        snd_seq_pool_mark_closing(oldpool);
     267        snd_use_lock_sync(&f->use_lock);
     268
    262269        /* release cells in old pool */
    263270        for (cell = oldhead; cell; cell = next) {
Note: See TracChangeset for help on using the changeset viewer.