aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx-audio.c
diff options
context:
space:
mode:
authorNicola Soranzo <nsoranzo@tiscali.it>2009-02-10 21:28:24 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:42:45 -0400
commita1a6ee74f2c68918f2e145dccba3637eea91a52a (patch)
treebd30e007e8903b469c785bf531527986faa6fa66 /drivers/media/video/em28xx/em28xx-audio.c
parent7aa0eabde08259c47586df934921c67cff36e7dc (diff)
V4L/DVB (10525): em28xx: Coding style fixes and a typo correction
Lots of coding style fixes and a typo correction for em28xx. [dougsland@redhat.com: fixed a reject due to a change on em28xx-audio.c] Signed-off-by: Nicola Soranzo <nsoranzo@tiscali.it> Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
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