patch-2.1.128 linux/drivers/sound/audio.c

Next file: linux/drivers/sound/dev_table.c
Previous file: linux/drivers/sound/ad1848.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.127/linux/drivers/sound/audio.c linux/drivers/sound/audio.c
@@ -228,8 +228,8 @@
 		if (l > buf_size)
 			l = buf_size;
 
-        returned = l;
-        used = l;
+		returned = l;
+		used = l;
 		if (!audio_devs[dev]->d->copy_user)
 		{
 			if ((dma_buf + l) >
@@ -246,13 +246,13 @@
 			if(copy_from_user(dma_buf, &(buf)[p], l))
 				return -EFAULT;
 		} 
-		else audio_devs[dev]->d->copy_user ( dev,
-                                             dma_buf, 0,
-                                             buf, p,
-                                             c, buf_size,
-                                             &used, &returned,
-                                             l);
-        l = returned;
+		else audio_devs[dev]->d->copy_user (dev,
+						dma_buf, 0,
+						buf, p,
+						c, buf_size,
+						&used, &returned,
+						l);
+		l = returned;
 
 		if (audio_devs[dev]->local_conversion & CNV_MU_LAW)
 		{

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