forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/gpu/drm/i915/display/intel_dsi_vbt.c
....@@ -133,9 +133,9 @@
133133 return ffs(intel_dsi->ports) - 1;
134134
135135 if (seq_port) {
136
- if (intel_dsi->ports & PORT_B)
136
+ if (intel_dsi->ports & BIT(PORT_B))
137137 return PORT_B;
138
- else if (intel_dsi->ports & PORT_C)
138
+ else if (intel_dsi->ports & BIT(PORT_C))
139139 return PORT_C;
140140 }
141141