FP bit of VI6_DPR_mod_ROUTE register is 6bit. But VI6_DPR_ROUTE_FP_MASK is set
to 0xFF, this will mask until the reserve bit.
This fixes size for VI6_DPR_ROUTE_FP_MASK.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu...@renesas.com>
---
 drivers/media/platform/vsp1/vsp1_regs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/platform/vsp1/vsp1_regs.h 
b/drivers/media/platform/vsp1/vsp1_regs.h
index f61e109..4177f98 100644
--- a/drivers/media/platform/vsp1/vsp1_regs.h
+++ b/drivers/media/platform/vsp1/vsp1_regs.h
@@ -306,7 +306,7 @@
 #define VI6_DPR_BRU_ROUTE              0x204c
 #define VI6_DPR_ROUTE_FXA_MASK         (0xff << 8)
 #define VI6_DPR_ROUTE_FXA_SHIFT                16
-#define VI6_DPR_ROUTE_FP_MASK          (0xff << 8)
+#define VI6_DPR_ROUTE_FP_MASK          (0x3f << 8)
 #define VI6_DPR_ROUTE_FP_SHIFT         8
 #define VI6_DPR_ROUTE_RT_MASK          (0x3f << 0)
 #define VI6_DPR_ROUTE_RT_SHIFT         0
-- 
2.1.3

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

Reply via email to