Commit e89a8c90 authored by Roel Kluin's avatar Roel Kluin Committed by Dave Airlie

drm/kms: Fix &&/|| confusion in drm_fb_helper_connector_parse_command_line()

This always evaluates to true.
Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 8e10ee9a
...@@ -156,7 +156,7 @@ static bool drm_fb_helper_connector_parse_command_line(struct drm_connector *con ...@@ -156,7 +156,7 @@ static bool drm_fb_helper_connector_parse_command_line(struct drm_connector *con
force = DRM_FORCE_ON; force = DRM_FORCE_ON;
break; break;
case 'D': case 'D':
if ((connector->connector_type != DRM_MODE_CONNECTOR_DVII) || if ((connector->connector_type != DRM_MODE_CONNECTOR_DVII) &&
(connector->connector_type != DRM_MODE_CONNECTOR_HDMIB)) (connector->connector_type != DRM_MODE_CONNECTOR_HDMIB))
force = DRM_FORCE_ON; force = DRM_FORCE_ON;
else else
......
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