summaryrefslogtreecommitdiffstats
path: root/crypto/ablkcipher.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2013-11-07 10:08:22 +0100
committerTakashi Iwai <tiwai@suse.de>2013-11-07 10:12:27 +0100
commitf44f2a5417b2968a8724b352cc0b2545a6bcb1f4 (patch)
tree4ea74e0d765b4d55429126770d72b107d66f4324 /crypto/ablkcipher.c
parentad8ff99e6beb8708b0bdefd9d5658324e90200f0 (diff)
downloadlinux-f44f2a5417b2968a8724b352cc0b2545a6bcb1f4.tar.bz2
ALSA: compress: fix drain calls blocking other compress functions (v6)
The drain and drain_notify callback were blocked by low level driver until the draining was complete. Due to this being invoked with big fat mutex held, others ops like reading timestamp, calling pause, drop were blocked. So to fix this we add a new snd_compr_drain_notify() API. This would be required to be invoked by low level driver when drain or partial drain has been completed by the DSP. Thus we make the drain and partial_drain callback as non blocking and driver returns immediately after notifying DSP. The waiting is done while releasing the lock so that other ops can go ahead. [ The commit 917f4b5cba78 was wrongly applied from the preliminary patch. This commit corrects to the final version. Sorry for inconvenience! -- tiwai ] Signed-off-by: Vinod Koul <vinod.koul@intel.com> CC: stable@vger.kernel.org Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'crypto/ablkcipher.c')
0 files changed, 0 insertions, 0 deletions