From: Takanari Hayama Date: Thu, 22 Jan 2015 00:14:23 +0000 (-0300) Subject: [media] v4l: vsp1: bru: Fix minimum input pixel size X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8cb0b6349010ffa0f80d5fc9ff9201e43a51a161;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [media] v4l: vsp1: bru: Fix minimum input pixel size According to the spec, the minimum input pixel size for BRU is 1px, not 4px. Signed-off-by: Takanari Hayama Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/vsp1/vsp1_bru.c b/drivers/media/platform/vsp1/vsp1_bru.c index b21f381a9862..401e2b77a0b6 100644 --- a/drivers/media/platform/vsp1/vsp1_bru.c +++ b/drivers/media/platform/vsp1/vsp1_bru.c @@ -20,7 +20,7 @@ #include "vsp1_bru.h" #include "vsp1_rwpf.h" -#define BRU_MIN_SIZE 4U +#define BRU_MIN_SIZE 1U #define BRU_MAX_SIZE 8190U /* -----------------------------------------------------------------------------