]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00280663-2 IPUv3 device: check downsize ratio overflow
authorLiu Ying <Ying.Liu@freescale.com>
Sun, 22 Sep 2013 04:37:39 +0000 (12:37 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:06:32 +0000 (10:06 +0200)
commitc5e1b445fbf1072ddaeda9747941da0fb4029ffd
tree55fbf82151b558b7b129561a9b0e9a9f21eb1a10
parent5cc4b048ebb6672ed92ecf9750486991cfe1dc0c
ENGR00280663-2 IPUv3 device: check downsize ratio overflow

IPUv3 IC task downsize scaling ratio cannot exceed or be
equal to 8:1. This patch makes the code return error code
if the ratio overflows.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
drivers/mxc/ipu3/ipu_device.c
include/uapi/linux/ipu.h