We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb1c4b6 commit 22f8a85Copy full SHA for 22f8a85
drivers/video/backlight/rave-sp-backlight.c
@@ -19,7 +19,7 @@ static int rave_sp_backlight_update_status(struct backlight_device *bd)
19
{
20
const struct backlight_properties *p = &bd->props;
21
const u8 intensity =
22
- (p->power == FB_BLANK_UNBLANK) ? p->brightness : 0;
+ (p->power == BACKLIGHT_POWER_ON) ? p->brightness : 0;
23
struct rave_sp *sp = dev_get_drvdata(&bd->dev);
24
u8 cmd[] = {
25
[0] = RAVE_SP_CMD_SET_BACKLIGHT,
0 commit comments