aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx25821/cx25821-video-upstream-ch2.c
diff options
context:
space:
mode:
authorLeonid V. Fedorenchik <leonidsbox@gmail.com>2011-10-22 00:43:42 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-24 15:54:11 -0500
commit2a4492d8223b7fef53d293b30db2141dcefb6de1 (patch)
tree7e548c1b325b942cac7afbaef625406b611599b3 /drivers/media/video/cx25821/cx25821-video-upstream-ch2.c
parent3940de7482be50f7071224c0f7812c6db1e132bd (diff)
[media] cx25821-video-upstream-ch2.c: Fix indent
Change indent of statements with (less than 8) spaces to indent with tabs. Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx25821/cx25821-video-upstream-ch2.c')
-rw-r--r--drivers/media/video/cx25821/cx25821-video-upstream-ch2.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/video/cx25821/cx25821-video-upstream-ch2.c b/drivers/media/video/cx25821/cx25821-video-upstream-ch2.c
index 94e235fc6938..af816a850b5c 100644
--- a/drivers/media/video/cx25821/cx25821-video-upstream-ch2.c
+++ b/drivers/media/video/cx25821/cx25821-video-upstream-ch2.c
@@ -85,7 +85,7 @@ static __le32 *cx25821_risc_field_upstream_ch2(struct cx25821_dev *dev,
85{ 85{
86 unsigned int line, i; 86 unsigned int line, i;
87 struct sram_channel *sram_ch = 87 struct sram_channel *sram_ch =
88 dev->channels[dev->_channel2_upstream_select].sram_channels; 88 dev->channels[dev->_channel2_upstream_select].sram_channels;
89 int dist_betwn_starts = bpl * 2; 89 int dist_betwn_starts = bpl * 2;
90 90
91 /* sync instruction */ 91 /* sync instruction */
@@ -203,7 +203,7 @@ int cx25821_risc_buffer_upstream_ch2(struct cx25821_dev *dev,
203void cx25821_stop_upstream_video_ch2(struct cx25821_dev *dev) 203void cx25821_stop_upstream_video_ch2(struct cx25821_dev *dev)
204{ 204{
205 struct sram_channel *sram_ch = 205 struct sram_channel *sram_ch =
206 dev->channels[VID_UPSTREAM_SRAM_CHANNEL_J].sram_channels; 206 dev->channels[VID_UPSTREAM_SRAM_CHANNEL_J].sram_channels;
207 u32 tmp = 0; 207 u32 tmp = 0;
208 208
209 if (!dev->_is_running_ch2) { 209 if (!dev->_is_running_ch2) {
@@ -325,7 +325,7 @@ int cx25821_get_frame_ch2(struct cx25821_dev *dev, struct sram_channel *sram_ch)
325 && dev->_data_buf_virt_addr_ch2 != NULL) { 325 && dev->_data_buf_virt_addr_ch2 != NULL) {
326 memcpy((void *)(dev->_data_buf_virt_addr_ch2 + 326 memcpy((void *)(dev->_data_buf_virt_addr_ch2 +
327 frame_offset / 4), mybuf, 327 frame_offset / 4), mybuf,
328 vfs_read_retval); 328 vfs_read_retval);
329 } 329 }
330 330
331 file_offset += vfs_read_retval; 331 file_offset += vfs_read_retval;
@@ -419,7 +419,7 @@ int cx25821_openfile_ch2(struct cx25821_dev *dev, struct sram_channel *sram_ch)
419 memcpy((void *)(dev-> 419 memcpy((void *)(dev->
420 _data_buf_virt_addr_ch2 420 _data_buf_virt_addr_ch2
421 + offset / 4), mybuf, 421 + offset / 4), mybuf,
422 vfs_read_retval); 422 vfs_read_retval);
423 } 423 }
424 424
425 offset += vfs_read_retval; 425 offset += vfs_read_retval;
@@ -563,8 +563,8 @@ int cx25821_video_upstream_irq_ch2(struct cx25821_dev *dev, int chan_num,
563 else 563 else
564 line_size_in_bytes = Y422_LINE_SZ; 564 line_size_in_bytes = Y422_LINE_SZ;
565 risc_phys_jump_addr = 565 risc_phys_jump_addr =
566 dev->_dma_phys_start_addr_ch2 + 566 dev->_dma_phys_start_addr_ch2 +
567 odd_risc_prog_size; 567 odd_risc_prog_size;
568 568
569 rp = cx25821_update_riscprogram_ch2(dev, 569 rp = cx25821_update_riscprogram_ch2(dev,
570 dev->_dma_virt_start_addr_ch2, 570 dev->_dma_virt_start_addr_ch2,