aboutsummaryrefslogtreecommitdiff
path: root/mm/maccess.c
diff options
context:
space:
mode:
authorVinod Koul2013-10-24 16:37:31 +0530
committerTakashi Iwai2013-10-24 14:50:37 +0200
commit917f4b5cba78980a527098a910d94139d3e82c8d (patch)
treee84f98c5c5ea708b205e1ef34684b778d16c5a67 /mm/maccess.c
parenta5606f85611267047206d8ba055bc0e4ba166ad3 (diff)
ALSA: compress: fix drain calls blocking other compress functions
The drain and drain_notify callback were blocked by low level driver untill 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 relasing the lock so that other ops can go ahead. 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 'mm/maccess.c')
0 files changed, 0 insertions, 0 deletions