hosts/TITAN: fix ddcci-backlight
This commit is contained in:
parent
7c4f151bd2
commit
db8a928c44
2 changed files with 3 additions and 1 deletions
|
@ -17,6 +17,8 @@
|
|||
"dm_persistent_data"
|
||||
"dm_bio_prison"
|
||||
"dm_bufio"
|
||||
"amdgpu"
|
||||
"ddcci_backlight"
|
||||
];
|
||||
boot.initrd.kernelModules = [ "dm_cache" ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
|
|
|
@ -68,7 +68,7 @@ index 7a98522..e518bfc 100644
|
|||
+ if (ddcci_bl_global_control == NULL) {
|
||||
+ printk(KERN_INFO "ddcci-backlight: registering global controller with brightness=%d, max_brightness=%d\n",
|
||||
+ brightness, max_brightness);
|
||||
+ cprops.type = BACKLIGHT_RAW;
|
||||
+ cprops.type = BACKLIGHT_FIRMWARE;
|
||||
+ cprops.max_brightness = max_brightness;
|
||||
+ cprops.brightness = brightness;
|
||||
+ ddcci_bl_global_control = devm_backlight_device_register(&dev->dev, "0000-ddcci_backlight_global_control",
|
||||
|
|
Loading…
Reference in a new issue