patch-2.1.14 linux/drivers/sound/dmabuf.c

Next file: linux/fs/Config.in
Previous file: linux/drivers/sound/dev_table.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.13/linux/drivers/sound/dmabuf.c linux/drivers/sound/dmabuf.c
@@ -581,6 +581,7 @@
   audio_devs[dev]->dmap_out->closing = 1;
   audio_devs[dev]->dmap_in->closing = 1;
 
+  if (!(audio_devs[dev]->dmap_in->mapping_flags & DMA_MAP_MAPPED))
   if (!((current->signal & ~current->blocked))
       && (audio_devs[dev]->dmap_out->dma_mode == DMODE_OUTPUT))
     {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov