diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-12-11 09:15:05 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-16 06:27:15 -0500 |
commit | 5d28d525452f170e30bc038955439731462a5228 (patch) | |
tree | 319c221f63b580cdec53a046b2fe5af2e0b92b36 /drivers/media/video/sh_mobile_ceu_camera.c | |
parent | 325361088b73269f4cc96256276a142addbf3454 (diff) |
V4L/DVB (13645): soc-camera: fix multi-line comment coding style
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/sh_mobile_ceu_camera.c')
-rw-r--r-- | drivers/media/video/sh_mobile_ceu_camera.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/drivers/media/video/sh_mobile_ceu_camera.c b/drivers/media/video/sh_mobile_ceu_camera.c index 7509990c65d7..3271944f261c 100644 --- a/drivers/media/video/sh_mobile_ceu_camera.c +++ b/drivers/media/video/sh_mobile_ceu_camera.c | |||
@@ -252,7 +252,8 @@ static int sh_mobile_ceu_capture(struct sh_mobile_ceu_dev *pcdev) | |||
252 | u32 status; | 252 | u32 status; |
253 | int ret = 0; | 253 | int ret = 0; |
254 | 254 | ||
255 | /* The hardware is _very_ picky about this sequence. Especially | 255 | /* |
256 | * The hardware is _very_ picky about this sequence. Especially | ||
256 | * the CEU_CETCR_MAGIC value. It seems like we need to acknowledge | 257 | * the CEU_CETCR_MAGIC value. It seems like we need to acknowledge |
257 | * several not-so-well documented interrupt sources in CETCR. | 258 | * several not-so-well documented interrupt sources in CETCR. |
258 | */ | 259 | */ |
@@ -321,8 +322,10 @@ static int sh_mobile_ceu_videobuf_prepare(struct videobuf_queue *vq, | |||
321 | WARN_ON(!list_empty(&vb->queue)); | 322 | WARN_ON(!list_empty(&vb->queue)); |
322 | 323 | ||
323 | #ifdef DEBUG | 324 | #ifdef DEBUG |
324 | /* This can be useful if you want to see if we actually fill | 325 | /* |
325 | * the buffer with something */ | 326 | * This can be useful if you want to see if we actually fill |
327 | * the buffer with something | ||
328 | */ | ||
326 | memset((void *)vb->baddr, 0xaa, vb->bsize); | 329 | memset((void *)vb->baddr, 0xaa, vb->bsize); |
327 | #endif | 330 | #endif |
328 | 331 | ||
@@ -709,7 +712,8 @@ static int sh_mobile_ceu_set_bus_param(struct soc_camera_device *icd, | |||
709 | 712 | ||
710 | ceu_write(pcdev, CFLCR, pcdev->cflcr); | 713 | ceu_write(pcdev, CFLCR, pcdev->cflcr); |
711 | 714 | ||
712 | /* A few words about byte order (observed in Big Endian mode) | 715 | /* |
716 | * A few words about byte order (observed in Big Endian mode) | ||
713 | * | 717 | * |
714 | * In data fetch mode bytes are received in chunks of 8 bytes. | 718 | * In data fetch mode bytes are received in chunks of 8 bytes. |
715 | * D0, D1, D2, D3, D4, D5, D6, D7 (D0 received first) | 719 | * D0, D1, D2, D3, D4, D5, D6, D7 (D0 received first) |
@@ -1573,10 +1577,12 @@ static int sh_mobile_ceu_reqbufs(struct soc_camera_file *icf, | |||
1573 | { | 1577 | { |
1574 | int i; | 1578 | int i; |
1575 | 1579 | ||
1576 | /* This is for locking debugging only. I removed spinlocks and now I | 1580 | /* |
1581 | * This is for locking debugging only. I removed spinlocks and now I | ||
1577 | * check whether .prepare is ever called on a linked buffer, or whether | 1582 | * check whether .prepare is ever called on a linked buffer, or whether |
1578 | * a dma IRQ can occur for an in-work or unlinked buffer. Until now | 1583 | * a dma IRQ can occur for an in-work or unlinked buffer. Until now |
1579 | * it hadn't triggered */ | 1584 | * it hadn't triggered |
1585 | */ | ||
1580 | for (i = 0; i < p->count; i++) { | 1586 | for (i = 0; i < p->count; i++) { |
1581 | struct sh_mobile_ceu_buffer *buf; | 1587 | struct sh_mobile_ceu_buffer *buf; |
1582 | 1588 | ||