Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345550
b: refs/heads/master
c: ec61c71
h: refs/heads/master
v: v3
  • Loading branch information
Rob Clark authored and Rob Clark committed Nov 30, 2012
1 parent 67a9ed4 commit 125f10b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b8b163ba9dcf20685bb193fb986989f1c68c3637
refs/heads/master: ec61c71d0dba24efe5868a92f6ba538a50d4823c
20 changes: 10 additions & 10 deletions trunk/drivers/gpu/drm/i2c/ch7006_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ static enum drm_connector_status ch7006_encoder_detect(struct drm_encoder *encod
else
priv->subconnector = DRM_MODE_SUBCONNECTOR_Unknown;

drm_connector_property_set_value(connector,
drm_object_property_set_value(&connector->base,
encoder->dev->mode_config.tv_subconnector_property,
priv->subconnector);

Expand Down Expand Up @@ -254,23 +254,23 @@ static int ch7006_encoder_create_resources(struct drm_encoder *encoder,

priv->scale_property = drm_property_create_range(dev, 0, "scale", 0, 2);

drm_connector_attach_property(connector, conf->tv_select_subconnector_property,
drm_object_attach_property(&connector->base, conf->tv_select_subconnector_property,
priv->select_subconnector);
drm_connector_attach_property(connector, conf->tv_subconnector_property,
drm_object_attach_property(&connector->base, conf->tv_subconnector_property,
priv->subconnector);
drm_connector_attach_property(connector, conf->tv_left_margin_property,
drm_object_attach_property(&connector->base, conf->tv_left_margin_property,
priv->hmargin);
drm_connector_attach_property(connector, conf->tv_bottom_margin_property,
drm_object_attach_property(&connector->base, conf->tv_bottom_margin_property,
priv->vmargin);
drm_connector_attach_property(connector, conf->tv_mode_property,
drm_object_attach_property(&connector->base, conf->tv_mode_property,
priv->norm);
drm_connector_attach_property(connector, conf->tv_brightness_property,
drm_object_attach_property(&connector->base, conf->tv_brightness_property,
priv->brightness);
drm_connector_attach_property(connector, conf->tv_contrast_property,
drm_object_attach_property(&connector->base, conf->tv_contrast_property,
priv->contrast);
drm_connector_attach_property(connector, conf->tv_flicker_reduction_property,
drm_object_attach_property(&connector->base, conf->tv_flicker_reduction_property,
priv->flicker);
drm_connector_attach_property(connector, priv->scale_property,
drm_object_attach_property(&connector->base, priv->scale_property,
priv->scale);

return 0;
Expand Down

0 comments on commit 125f10b

Please sign in to comment.