summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2009-06-17 09:06:21 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2009-06-17 09:06:21 -0700
commit3a6edb94d704d582201d9fad16a566691f176e76 (patch)
tree2de063a2dd43a35931bb66566286e7f989b5452e /linux/drivers/media/video
parent03d777f511d5820441ae2f3584e7441dd019faea (diff)
downloadmediapointer-dvb-s2-3a6edb94d704d582201d9fad16a566691f176e76.tar.gz
mediapointer-dvb-s2-3a6edb94d704d582201d9fad16a566691f176e76.tar.bz2
pxa-camera: fix typo
From: Trent Piepho <xyzzy@speakeasy.org> v4l2_bound_align_image should be v4l_bound_align_image. Change comment to match coding style. Should be merged with cb48209c1841 pxa-camera: Use v4l bounding/alignment function Priority: high Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/pxa_camera.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/linux/drivers/media/video/pxa_camera.c b/linux/drivers/media/video/pxa_camera.c
index 7578d0cfe..8964d60cd 100644
--- a/linux/drivers/media/video/pxa_camera.c
+++ b/linux/drivers/media/video/pxa_camera.c
@@ -1403,13 +1403,15 @@ static int pxa_camera_try_fmt(struct soc_camera_device *icd,
return -EINVAL;
}
- /* Limit to pxa hardware capabilities. YUV422P planar format requires
+ /*
+ * Limit to pxa hardware capabilities. YUV422P planar format requires
* images size to be a multiple of 16 bytes. If not, zeros will be
* inserted between Y and U planes, and U and V planes, which violates
- * the YUV422P standard. */
- v4l2_bound_align_image(&pix->width, 48, 2048, 1,
- &pix->height, 32, 2048, 0,
- xlate->host_fmt->fourcc == V4L2_PIX_FMT_YUV422P ? 4 : 0);
+ * the YUV422P standard.
+ */
+ v4l_bound_align_image(&pix->width, 48, 2048, 1,
+ &pix->height, 32, 2048, 0,
+ xlate->host_fmt->fourcc == V4L2_PIX_FMT_YUV422P ? 4 : 0);
pix->bytesperline = pix->width *
DIV_ROUND_UP(xlate->host_fmt->depth, 8);