Skip to contentSkip to conversation

2.4.18-pa40, added SNDCTL_DSP_SYNC ioctl to harmony driver

parisc-linux Helge Deller 1 participant 1 message Jun 22, 2002 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 8 lines · Helge Deller

CVSROOT: /var/cvs
Module name: linux
Changes by: deller 02/06/22 03:05:59

Modified files:
. : Makefile
drivers/sound : harmony.c

Quoted 5 lines

Log message:
2.4.18-pa40
- added SNDCTL_DSP_SYNC to harmony driver (allows recording with sox) This patch was contributed by James Mcclain <[email protected]>
http://lists.parisc-linux.org/pipermail/parisc-linux/2002-June/016688.html

Index: Makefile
===================================================================
RCS file: /var/cvs/linux/Makefile,v
retrieving revision 1.310

Makefile +1 -1
diff -u -p -r1.310 Makefile
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 4
 SUBLEVEL = 18
-EXTRAVERSION = -pa39
+EXTRAVERSION = -pa40
 
 KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
 

Index: drivers/sound/harmony.c
===================================================================
RCS file: /var/cvs/linux/drivers/sound/harmony.c,v retrieving revision 1.27

sound/harmony.c +4 -0
diff -u -p -r1.27 harmony.c
@@ -724,7 +724,11 @@ static int harmony_audio_ioctl(struct in
 		info.fragsize = HARMONY_BUF_SIZE;
                 info.bytes = info.fragments * info.fragsize;
 		return copy_to_user((void *)arg, &info, sizeof(info));
+	
+	case SNDCTL_DSP_SYNC:
+		return 0;
 	}
+	
 	return -EINVAL;
 }