diff options
-rw-r--r-- | drivers/media/platform/soc_camera/soc_scale_crop.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/drivers/media/platform/soc_camera/soc_scale_crop.c b/drivers/media/platform/soc_camera/soc_scale_crop.c index 0116097c0c0f..270ec613c27c 100644 --- a/drivers/media/platform/soc_camera/soc_scale_crop.c +++ b/drivers/media/platform/soc_camera/soc_scale_crop.c | |||
@@ -306,16 +306,17 @@ update_cache: | |||
306 | } | 306 | } |
307 | 307 | ||
308 | /** | 308 | /** |
309 | * @icd - soc-camera device | 309 | * soc_camera_client_scale |
310 | * @rect - camera cropping window | 310 | * @icd: soc-camera device |
311 | * @subrect - part of rect, sent to the user | 311 | * @rect: camera cropping window |
312 | * @mf - in- / output camera output window | 312 | * @subrect: part of rect, sent to the user |
313 | * @width - on input: max host input width | 313 | * @mf: in- / output camera output window |
314 | * on output: user width, mapped back to input | 314 | * @width: on input: max host input width; |
315 | * @height - on input: max host input height | 315 | * on output: user width, mapped back to input |
316 | * on output: user height, mapped back to input | 316 | * @height: on input: max host input height; |
317 | * @host_can_scale - host can scale this pixel format | 317 | * on output: user height, mapped back to input |
318 | * @shift - shift, used for scaling | 318 | * @host_can_scale: host can scale this pixel format |
319 | * @shift: shift, used for scaling | ||
319 | */ | 320 | */ |
320 | int soc_camera_client_scale(struct soc_camera_device *icd, | 321 | int soc_camera_client_scale(struct soc_camera_device *icd, |
321 | struct v4l2_rect *rect, struct v4l2_rect *subrect, | 322 | struct v4l2_rect *rect, struct v4l2_rect *subrect, |