projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
backlight: add backlight type
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
video
/
backlight
/
tosa_bl.c
diff --git
a/drivers/video/backlight/tosa_bl.c
b/drivers/video/backlight/tosa_bl.c
index 2a04b382ec4834a03270db15701136f5f01694cf..425a7365470b14861f47da75e72fbb46fb915e3f 100644
(file)
--- a/
drivers/video/backlight/tosa_bl.c
+++ b/
drivers/video/backlight/tosa_bl.c
@@
-102,6
+102,7
@@
static int __devinit tosa_bl_probe(struct i2c_client *client,
data->i2c = client;
memset(&props, 0, sizeof(struct backlight_properties));
+ props.type = BACKLIGHT_RAW;
props.max_brightness = 512 - 1;
data->bl = backlight_device_register("tosa-bl", &client->dev, data,
&bl_ops, &props);