Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346377
b: refs/heads/master
c: ae872db
h: refs/heads/master
i:
  346375: ee53a04
v: v3
  • Loading branch information
Jingoo Han authored and Linus Torvalds committed Dec 18, 2012
1 parent c211d31 commit e487028
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 7a94f653edd964f2d3d2266212dc4e86cf47ed32
refs/heads/master: ae872dbba92efbbaa7486fe84326427a66ed8335
8 changes: 5 additions & 3 deletions trunk/drivers/video/backlight/pcf50633-backlight.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ int pcf50633_bl_set_brightness_limit(struct pcf50633 *pcf, unsigned int limit)
pcf_bl->brightness_limit = limit & 0x3f;
backlight_update_status(pcf_bl->bl);

return 0;
return 0;
}

static int pcf50633_bl_update_status(struct backlight_device *bl)
Expand Down Expand Up @@ -136,8 +136,10 @@ static int pcf50633_bl_probe(struct platform_device *pdev)

pcf50633_reg_write(pcf_bl->pcf, PCF50633_REG_LEDDIM, pdata->ramp_time);

/* Should be different from bl_props.brightness, so we do not exit
* update_status early the first time it's called */
/*
* Should be different from bl_props.brightness, so we do not exit
* update_status early the first time it's called
*/
pcf_bl->brightness = pcf_bl->bl->props.brightness + 1;

backlight_update_status(pcf_bl->bl);
Expand Down

0 comments on commit e487028

Please sign in to comment.