[media] v4l: vsp1: Fix VI6_WPF_SZCLIP_SIZE_MASK macro
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Thu, 29 Jan 2015 00:53:53 +0000 (22:53 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 6 Jul 2015 11:26:07 +0000 (08:26 -0300)
commit03b36e4dcf422a10da8b67bce2ed00b34ec58aac
tree936c0f4f95219f966f375767d48cfce726a7017d
parent63f2f417526fc54191f2b813f72dc1d5322bede8
[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>
drivers/media/platform/vsp1/vsp1_regs.h