Commit 64bab1a2 authored by Maninder Singh's avatar Maninder Singh Committed by Mauro Carvalho Chehab

[media] staging: st-cec: add parentheses around complex macros

This patch fixes the following checkpatch.pl error:
ERROR: Macros with complex values should be enclosed in parentheses
Signed-off-by: default avatarManinder Singh <maninder.s2@samsung.com>
Acked-by: default avatarBenjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 827c1f52
...@@ -107,11 +107,11 @@ ...@@ -107,11 +107,11 @@
/* Constants for CEC_BIT_TOUT_THRESH register */ /* Constants for CEC_BIT_TOUT_THRESH register */
#define CEC_SBIT_TOUT_47MS BIT(1) #define CEC_SBIT_TOUT_47MS BIT(1)
#define CEC_SBIT_TOUT_48MS BIT(0) | BIT(1) #define CEC_SBIT_TOUT_48MS (BIT(0) | BIT(1))
#define CEC_SBIT_TOUT_50MS BIT(2) #define CEC_SBIT_TOUT_50MS BIT(2)
#define CEC_DBIT_TOUT_27MS BIT(0) #define CEC_DBIT_TOUT_27MS BIT(0)
#define CEC_DBIT_TOUT_28MS BIT(1) #define CEC_DBIT_TOUT_28MS BIT(1)
#define CEC_DBIT_TOUT_29MS BIT(0) | BIT(1) #define CEC_DBIT_TOUT_29MS (BIT(0) | BIT(1))
/* Constants for CEC_BIT_PULSE_THRESH register */ /* Constants for CEC_BIT_PULSE_THRESH register */
#define CEC_BIT_LPULSE_03MS BIT(1) #define CEC_BIT_LPULSE_03MS BIT(1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment