mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 14:42:24 +00:00
[media] v4l: vsp1: Fix VI6_DISP_IRQ_STA_LNE macro
LNE bit in VI6_DISP_IRQ_STA register are from the 0 bit to 4 bit. This fixes bit position specified by VI6_DISP_IRQ_STA_LNE. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
59a7954ce3
commit
533ab2231d
@ -48,7 +48,7 @@
|
||||
#define VI6_DISP_IRQ_STA 0x007c
|
||||
#define VI6_DISP_IRQ_STA_DSE (1 << 8)
|
||||
#define VI6_DISP_IRQ_STA_MAE (1 << 5)
|
||||
#define VI6_DISP_IRQ_STA_LNE(n) (1 << ((n) + 4))
|
||||
#define VI6_DISP_IRQ_STA_LNE(n) (1 << (n))
|
||||
|
||||
#define VI6_WPF_LINE_COUNT(n) (0x0084 + (n) * 4)
|
||||
#define VI6_WPF_LINE_COUNT_MASK (0x1fffff << 0)
|
||||
|
Loading…
Reference in New Issue
Block a user