summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorManinder Singh2016-11-04 08:58:31 +0100
committerMauro Carvalho Chehab2016-11-16 18:23:10 +0100
commit64bab1a20c21875dd021e426ec9d8a21dfb4b3ac (patch)
tree784167059c978fe2ae02b1b4fa8af24a71b79212 /drivers/staging
parent[media] adv7604: add vic detect (diff)
downloadkernel-qcow2-linux-64bab1a20c21875dd021e426ec9d8a21dfb4b3ac.tar.gz
kernel-qcow2-linux-64bab1a20c21875dd021e426ec9d8a21dfb4b3ac.tar.xz
kernel-qcow2-linux-64bab1a20c21875dd021e426ec9d8a21dfb4b3ac.zip
[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: Maninder Singh <maninder.s2@samsung.com> Acked-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/media/st-cec/stih-cec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/st-cec/stih-cec.c b/drivers/staging/media/st-cec/stih-cec.c
index 1f1542e8154f..eed1fd6bbefa 100644
--- a/drivers/staging/media/st-cec/stih-cec.c
+++ b/drivers/staging/media/st-cec/stih-cec.c
@@ -107,11 +107,11 @@
/* Constants for CEC_BIT_TOUT_THRESH register */
#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_DBIT_TOUT_27MS BIT(0)
#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 */
#define CEC_BIT_LPULSE_03MS BIT(1)