Fix the skip disabled backlight device

Review Request #130123 - Created May 9, 2017 and submitted

Information
AceLan Kao
powerdevil
Reviewers
solid
Only raw backlight interface have the "enabled" file under "device"
directory.
So the commit
   5c0d35c skip the disabled backlight device
affects all types of backlight interfaces is wrong, it will drop out all
other type of backlight interfaces except raw tyep backlight.

To fix this, we just need to check the enabled file for raw backlight
interfaces only.

Signed-off-by: AceLan Kao <acelan@acelan.idv.tw>

  

Issues

  • 0
  • 10
  • 0
  • 10
Description From Last Updated
Lamarque Souza
AceLan Kao
Lamarque Souza
AceLan Kao
Review request changed

Status: Closed (submitted)

Loading...