Commit dc200356 authored by Ran Sun's avatar Ran Sun Committed by Alex Deucher

drm/radeon: add missing spaces after ',' and else should follow close brace '}'

ERROR: else should follow close brace '}'

ERROR: space required after that ',' (ctx:VxV)
Signed-off-by: default avatarRan Sun <sunran001@208suo.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent b5ac0880
...@@ -198,8 +198,7 @@ int radeon_get_monitor_bpc(struct drm_connector *connector) ...@@ -198,8 +198,7 @@ int radeon_get_monitor_bpc(struct drm_connector *connector)
DRM_DEBUG("%s: HDMI deep color 10 bpc exceeds max tmds clock. Using %d bpc.\n", DRM_DEBUG("%s: HDMI deep color 10 bpc exceeds max tmds clock. Using %d bpc.\n",
connector->name, bpc); connector->name, bpc);
} }
} } else if (bpc > 8) {
else if (bpc > 8) {
/* max_tmds_clock missing, but hdmi spec mandates it for deep color. */ /* max_tmds_clock missing, but hdmi spec mandates it for deep color. */
DRM_DEBUG("%s: Required max tmds clock for HDMI deep color missing. Using 8 bpc.\n", DRM_DEBUG("%s: Required max tmds clock for HDMI deep color missing. Using 8 bpc.\n",
connector->name); connector->name);
...@@ -1372,7 +1371,7 @@ radeon_dvi_detect(struct drm_connector *connector, bool force) ...@@ -1372,7 +1371,7 @@ radeon_dvi_detect(struct drm_connector *connector, bool force)
/* assume digital unless load detected otherwise */ /* assume digital unless load detected otherwise */
radeon_connector->use_digital = true; radeon_connector->use_digital = true;
lret = encoder_funcs->detect(encoder, connector); lret = encoder_funcs->detect(encoder, connector);
DRM_DEBUG_KMS("load_detect %x returned: %x\n",encoder->encoder_type,lret); DRM_DEBUG_KMS("load_detect %x returned: %x\n", encoder->encoder_type, lret);
if (lret == connector_status_connected) if (lret == connector_status_connected)
radeon_connector->use_digital = false; radeon_connector->use_digital = false;
} }
......
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