aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx-audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-audio.c')
-rw-r--r--drivers/media/video/em28xx/em28xx-audio.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/video/em28xx/em28xx-audio.c b/drivers/media/video/em28xx/em28xx-audio.c
index abbf9ee0d39a..6296697d025f 100644
--- a/drivers/media/video/em28xx/em28xx-audio.c
+++ b/drivers/media/video/em28xx/em28xx-audio.c
@@ -245,7 +245,7 @@ static int snd_pcm_alloc_vmalloc_buffer(struct snd_pcm_substream *subs,
245{ 245{
246 struct snd_pcm_runtime *runtime = subs->runtime; 246 struct snd_pcm_runtime *runtime = subs->runtime;
247 247
248 dprintk("Alocating vbuffer\n"); 248 dprintk("Allocating vbuffer\n");
249 if (runtime->dma_area) { 249 if (runtime->dma_area) {
250 if (runtime->dma_bytes > size) 250 if (runtime->dma_bytes > size)
251 return 0; 251 return 0;
@@ -409,8 +409,7 @@ static int snd_em28xx_capture_trigger(struct snd_pcm_substream *substream,
409static snd_pcm_uframes_t snd_em28xx_capture_pointer(struct snd_pcm_substream 409static snd_pcm_uframes_t snd_em28xx_capture_pointer(struct snd_pcm_substream
410 *substream) 410 *substream)
411{ 411{
412 unsigned long flags; 412 unsigned long flags;
413
414 struct em28xx *dev; 413 struct em28xx *dev;
415 snd_pcm_uframes_t hwptr_done; 414 snd_pcm_uframes_t hwptr_done;
416 415