Re: [PATCH] V4L: omap3isp: remove redundant operation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Guennadi,

Thanks for the patch.

On Thursday 29 September 2011 12:57:00 Guennadi Liakhovetski wrote:
> Trivial arithmetics clean up.
> 
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@xxxxxx>

Acked-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>

I've applied it to my tree.

> ---
>  drivers/media/video/omap3isp/ispccdc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/media/video/omap3isp/ispccdc.c
> b/drivers/media/video/omap3isp/ispccdc.c index 40b141c..65ae267 100644
> --- a/drivers/media/video/omap3isp/ispccdc.c
> +++ b/drivers/media/video/omap3isp/ispccdc.c
> @@ -1834,7 +1834,7 @@ ccdc_try_format(struct isp_ccdc_device *ccdc, struct
> v4l2_subdev_fh *fh, * callers to request an output size bigger than the
> input size * up to the nearest multiple of 16.
>  		 */
> -		fmt->width = clamp_t(u32, width, 32, (fmt->width + 15) & ~15);
> +		fmt->width = clamp_t(u32, width, 32, fmt->width + 15);
>  		fmt->width &= ~15;
>  		fmt->height = clamp_t(u32, height, 32, fmt->height);
>  		break;

-- 
Regards,

Laurent Pinchart
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux