Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 371421
b: refs/heads/master
c: 22ccb2a
h: refs/heads/master
i:
  371419: 1a53d79
v: v3
  • Loading branch information
Syam Sidhardhan authored and Patrik Jakobsson committed Mar 13, 2013
1 parent 903e95f commit 1bc6121
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: bc6a541941df6e05b0c53133537ce4cf31336c3f
refs/heads/master: 22ccb2a146f92b81cc5731db8c1ee2316cca3576
7 changes: 5 additions & 2 deletions trunk/drivers/gpu/drm/gma500/mdfld_dsi_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,18 @@ void mdfld_dsi_brightness_init(struct mdfld_dsi_config *dsi_config, int pipe)
{
struct mdfld_dsi_pkg_sender *sender =
mdfld_dsi_get_pkg_sender(dsi_config);
struct drm_device *dev = sender->dev;
struct drm_psb_private *dev_priv = dev->dev_private;
struct drm_device *dev;
struct drm_psb_private *dev_priv;
u32 gen_ctrl_val;

if (!sender) {
DRM_ERROR("No sender found\n");
return;
}

dev = sender->dev;
dev_priv = dev->dev_private;

/* Set default display backlight value to 85% (0xd8)*/
mdfld_dsi_send_mcs_short(sender, write_display_brightness, 0xd8, 1,
true);
Expand Down

0 comments on commit 1bc6121

Please sign in to comment.