patch-2.1.132 linux/drivers/sound/soundcard.c

Next file: linux/drivers/sound/vidc.c
Previous file: linux/drivers/sound/sound_calls.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.131/linux/drivers/sound/soundcard.c linux/drivers/sound/soundcard.c
@@ -760,6 +760,9 @@
 
 	dmap->mapping_flags |= DMA_MAP_MAPPED;
 
+	if( audio_devs[dev]->d->mmap)
+		audio_devs[dev]->d->mmap(dev);
+
 	memset(dmap->raw_buf,
 	       dmap->neutral_byte,
 	       dmap->bytes_in_use);

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