2015-02-02 09:42:12

by Pushpendra Singh

[permalink] [raw]
Subject: [PATCH] stagging: media: tlg2300: Fixes Checkpatch error

Error: Missing a blank line after declarations

Singed-off-by: [email protected]
to: [email protected]
cc: [email protected]
cc: [email protected]
---
drivers/staging/media/tlg2300/pd-alsa.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/staging/media/tlg2300/pd-alsa.c b/drivers/staging/media/tlg2300/pd-alsa.c
index 0b23395..f3b1ac8 100644
--- a/drivers/staging/media/tlg2300/pd-alsa.c
+++ b/drivers/staging/media/tlg2300/pd-alsa.c
@@ -255,6 +255,7 @@ snd_pd_capture_pointer(struct snd_pcm_substream *substream)
{
struct poseidon *p = snd_pcm_substream_chip(substream);
struct poseidon_audio *pa = &p->audio;
+
return pa->rcv_position;
}

@@ -262,6 +263,7 @@ static struct page *snd_pcm_pd_get_page(struct snd_pcm_substream *subs,
unsigned long offset)
{
void *pageptr = subs->runtime->dma_area + offset;
+
return vmalloc_to_page(pageptr);
}

--
1.9.1