]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: firewire-lib: taskletize the snd_pcm_period_elapsed() call
authorClemens Ladisch <clemens@ladisch.de>
Sun, 13 May 2012 20:03:09 +0000 (22:03 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 14 May 2012 08:43:30 +0000 (10:43 +0200)
commit5389b966083d60ba2b52c6c093b4adb9b7cb5fd8
tree270c4ca71a84ace95f7aef751477427365f395e3
parent6db8ff0fa5c12ed1ed8de061ef5449f9cc4edcf9
ALSA: firewire-lib: taskletize the snd_pcm_period_elapsed() call

The following patch might introduce this call chain:
  PCM .pointer callback
  + fw_iso_context_flush_completions
    + packet callback
      + snd_pcm_period_elapsed
        + PCM .pointer callback
Recursive calls to the pointer callback are not possible due to the PCM
group locking, so avoid this by moving the period notification into
a separate tasklet.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp.c
sound/firewire/amdtp.h