[media] v4l: vsp1: Fix VI6_WPF_SZCLIP_SIZE_MASK macro
Clipping size bit of VI6_WPFn _HSZCLIP and VI6_WPFn _VSZCLIP register are from 0 bit to 11 bit. But VI6_WPF_SZCLIP_SIZE_MASK is set to 0x1FFF, this will mask until the reserve bits. This fixes size for VI6_WPF_SZCLIP_SIZE_MASK. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
63f2f41752
commit
03b36e4dcf
|
@ -238,7 +238,7 @@
|
|||
#define VI6_WPF_SZCLIP_EN (1 << 28)
|
||||
#define VI6_WPF_SZCLIP_OFST_MASK (0xff << 16)
|
||||
#define VI6_WPF_SZCLIP_OFST_SHIFT 16
|
||||
#define VI6_WPF_SZCLIP_SIZE_MASK (0x1fff << 0)
|
||||
#define VI6_WPF_SZCLIP_SIZE_MASK (0xfff << 0)
|
||||
#define VI6_WPF_SZCLIP_SIZE_SHIFT 0
|
||||
|
||||
#define VI6_WPF_OUTFMT 0x100c
|
||||
|
|
Loading…
Reference in New Issue