aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss
diff options
context:
space:
mode:
Diffstat (limited to 'sound/oss')
-rw-r--r--sound/oss/dmabuf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/oss/dmabuf.c b/sound/oss/dmabuf.c
index baf4244a54f2..15ce7119c5f4 100644
--- a/sound/oss/dmabuf.c
+++ b/sound/oss/dmabuf.c
@@ -547,7 +547,7 @@ int DMAbuf_activate_recording(int dev, struct dma_buffparms *dmap)
547 } 547 }
548 return 0; 548 return 0;
549} 549}
550/* aquires lock */ 550/* acquires lock */
551int DMAbuf_getrdbuffer(int dev, char **buf, int *len, int dontblock) 551int DMAbuf_getrdbuffer(int dev, char **buf, int *len, int dontblock)
552{ 552{
553 struct audio_operations *adev = audio_devs[dev]; 553 struct audio_operations *adev = audio_devs[dev];
@@ -821,7 +821,7 @@ static int find_output_space(int dev, char **buf, int *size)
821 *size = len & ~SAMPLE_ROUNDUP; 821 *size = len & ~SAMPLE_ROUNDUP;
822 return (*size > 0); 822 return (*size > 0);
823} 823}
824/* aquires lock */ 824/* acquires lock */
825int DMAbuf_getwrbuffer(int dev, char **buf, int *size, int dontblock) 825int DMAbuf_getwrbuffer(int dev, char **buf, int *size, int dontblock)
826{ 826{
827 struct audio_operations *adev = audio_devs[dev]; 827 struct audio_operations *adev = audio_devs[dev];
@@ -855,7 +855,7 @@ int DMAbuf_getwrbuffer(int dev, char **buf, int *size, int dontblock)
855 spin_unlock_irqrestore(&dmap->lock,flags); 855 spin_unlock_irqrestore(&dmap->lock,flags);
856 return 0; 856 return 0;
857} 857}
858/* has to aquire dmap->lock */ 858/* has to acquire dmap->lock */
859int DMAbuf_move_wrpointer(int dev, int l) 859int DMAbuf_move_wrpointer(int dev, int l)
860{ 860{
861 struct audio_operations *adev = audio_devs[dev]; 861 struct audio_operations *adev = audio_devs[dev];