~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to sound/core/seq/seq_queue.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
467
467
int snd_seq_queue_timer_close(int queueid)
468
468
{
469
469
        struct snd_seq_queue *queue;
470
 
        struct snd_seq_timer *tmr;
471
470
        int result = 0;
472
471
 
473
472
        queue = queueptr(queueid);
474
473
        if (queue == NULL)
475
474
                return -EINVAL;
476
 
        tmr = queue->timer;
477
475
        snd_seq_timer_close(queue);
478
476
        queuefree(queue);
479
477
        return result;