forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 61598093bbdd283a7edc367d900f223070ead8d2
kernel/include/drm/drm_scdc_helper.h
....@@ -50,9 +50,9 @@
5050 #define SCDC_READ_REQUEST_ENABLE (1 << 0)
5151
5252 #define SCDC_STATUS_FLAGS_0 0x40
53
-#define SCDC_CH2_LOCK (1 < 3)
54
-#define SCDC_CH1_LOCK (1 < 2)
55
-#define SCDC_CH0_LOCK (1 < 1)
53
+#define SCDC_CH2_LOCK (1 << 3)
54
+#define SCDC_CH1_LOCK (1 << 2)
55
+#define SCDC_CH0_LOCK (1 << 1)
5656 #define SCDC_CH_LOCK_MASK (SCDC_CH2_LOCK | SCDC_CH1_LOCK | SCDC_CH0_LOCK)
5757 #define SCDC_CLOCK_DETECT (1 << 0)
5858