diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-08-27 17:16:54 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:07:29 -0400 |
commit | b930e1d851c3ffbf82127bd0e4d72ffe94d4b7f2 (patch) | |
tree | 190561aa866401ac4d2b45f7a6c6bb5d9cb982a3 /drivers/media/video/cx88/cx88-mpeg.c | |
parent | 38051450b378ef2cb51dff76a6b8299f59129172 (diff) |
V4L/DVB (6125): whitespace cleanup: replace leading spaces with tabs
There were many instances of 7-space indents spread throughout
the v4l-dvb tree.
This patch replaces the 7-space indents with tabs. The whitespace cleaner
script doesn't catch these, because it assumes that all indents are 8-space.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx88/cx88-mpeg.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-mpeg.c | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/drivers/media/video/cx88/cx88-mpeg.c b/drivers/media/video/cx88/cx88-mpeg.c index 4e6a84f15d17..d302793fcfb9 100644 --- a/drivers/media/video/cx88/cx88-mpeg.c +++ b/drivers/media/video/cx88/cx88-mpeg.c | |||
@@ -179,43 +179,43 @@ static int cx8802_restart_queue(struct cx8802_dev *dev, | |||
179 | struct cx88_buffer *buf; | 179 | struct cx88_buffer *buf; |
180 | struct list_head *item; | 180 | struct list_head *item; |
181 | 181 | ||
182 | dprintk( 1, "cx8802_restart_queue\n" ); | 182 | dprintk( 1, "cx8802_restart_queue\n" ); |
183 | if (list_empty(&q->active)) | 183 | if (list_empty(&q->active)) |
184 | { | 184 | { |
185 | struct cx88_buffer *prev; | 185 | struct cx88_buffer *prev; |
186 | prev = NULL; | 186 | prev = NULL; |
187 | 187 | ||
188 | dprintk(1, "cx8802_restart_queue: queue is empty\n" ); | 188 | dprintk(1, "cx8802_restart_queue: queue is empty\n" ); |
189 | 189 | ||
190 | for (;;) { | 190 | for (;;) { |
191 | if (list_empty(&q->queued)) | 191 | if (list_empty(&q->queued)) |
192 | return 0; | 192 | return 0; |
193 | buf = list_entry(q->queued.next, struct cx88_buffer, vb.queue); | 193 | buf = list_entry(q->queued.next, struct cx88_buffer, vb.queue); |
194 | if (NULL == prev) { | 194 | if (NULL == prev) { |
195 | list_del(&buf->vb.queue); | 195 | list_del(&buf->vb.queue); |
196 | list_add_tail(&buf->vb.queue,&q->active); | 196 | list_add_tail(&buf->vb.queue,&q->active); |
197 | cx8802_start_dma(dev, q, buf); | 197 | cx8802_start_dma(dev, q, buf); |
198 | buf->vb.state = STATE_ACTIVE; | 198 | buf->vb.state = STATE_ACTIVE; |
199 | buf->count = q->count++; | 199 | buf->count = q->count++; |
200 | mod_timer(&q->timeout, jiffies+BUFFER_TIMEOUT); | 200 | mod_timer(&q->timeout, jiffies+BUFFER_TIMEOUT); |
201 | dprintk(1,"[%p/%d] restart_queue - first active\n", | 201 | dprintk(1,"[%p/%d] restart_queue - first active\n", |
202 | buf,buf->vb.i); | 202 | buf,buf->vb.i); |
203 | 203 | ||
204 | } else if (prev->vb.width == buf->vb.width && | 204 | } else if (prev->vb.width == buf->vb.width && |
205 | prev->vb.height == buf->vb.height && | 205 | prev->vb.height == buf->vb.height && |
206 | prev->fmt == buf->fmt) { | 206 | prev->fmt == buf->fmt) { |
207 | list_del(&buf->vb.queue); | 207 | list_del(&buf->vb.queue); |
208 | list_add_tail(&buf->vb.queue,&q->active); | 208 | list_add_tail(&buf->vb.queue,&q->active); |
209 | buf->vb.state = STATE_ACTIVE; | 209 | buf->vb.state = STATE_ACTIVE; |
210 | buf->count = q->count++; | 210 | buf->count = q->count++; |
211 | prev->risc.jmp[1] = cpu_to_le32(buf->risc.dma); | 211 | prev->risc.jmp[1] = cpu_to_le32(buf->risc.dma); |
212 | dprintk(1,"[%p/%d] restart_queue - move to active\n", | 212 | dprintk(1,"[%p/%d] restart_queue - move to active\n", |
213 | buf,buf->vb.i); | 213 | buf,buf->vb.i); |
214 | } else { | 214 | } else { |
215 | return 0; | 215 | return 0; |
216 | } | 216 | } |
217 | prev = buf; | 217 | prev = buf; |
218 | } | 218 | } |
219 | return 0; | 219 | return 0; |
220 | } | 220 | } |
221 | 221 | ||