[media] exynos4-is: Cleanup a define in mipi-csis driver
This define is only used in s5pcsis_irq_handler(): if ((status & S5PCSIS_INTSRC_NON_IMAGE_DATA) && pktbuf->data) { The problem is that "status" is a 32 bit and (0xff << 28) is larger than 32 bits and that sets off a static checker warning. I consulted with Sylwester Nawrocki and the define should actually be (0xf << 28). Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
03ce1a13cc
commit
e1163236f5
|
@ -91,7 +91,7 @@ MODULE_PARM_DESC(debug, "Debug level (0-2)");
|
||||||
#define S5PCSIS_INTSRC_ODD_BEFORE (1 << 29)
|
#define S5PCSIS_INTSRC_ODD_BEFORE (1 << 29)
|
||||||
#define S5PCSIS_INTSRC_ODD_AFTER (1 << 28)
|
#define S5PCSIS_INTSRC_ODD_AFTER (1 << 28)
|
||||||
#define S5PCSIS_INTSRC_ODD (0x3 << 28)
|
#define S5PCSIS_INTSRC_ODD (0x3 << 28)
|
||||||
#define S5PCSIS_INTSRC_NON_IMAGE_DATA (0xff << 28)
|
#define S5PCSIS_INTSRC_NON_IMAGE_DATA (0xf << 28)
|
||||||
#define S5PCSIS_INTSRC_FRAME_START (1 << 27)
|
#define S5PCSIS_INTSRC_FRAME_START (1 << 27)
|
||||||
#define S5PCSIS_INTSRC_FRAME_END (1 << 26)
|
#define S5PCSIS_INTSRC_FRAME_END (1 << 26)
|
||||||
#define S5PCSIS_INTSRC_ERR_SOT_HS (0xf << 12)
|
#define S5PCSIS_INTSRC_ERR_SOT_HS (0xf << 12)
|
||||||
|
|
Loading…
Reference in New Issue