Page MenuHomeFreeBSD

pwm_backlight: add flags to pwmbus, fix percent calculation
Needs ReviewPublic

Authored by oskar.holmlund_ohdata.se on Jan 2 2024, 10:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 8, 4:20 AM
Unknown Object (File)
Mon, Oct 5, 8:59 AM
Unknown Object (File)
Sat, Oct 3, 8:48 PM
Unknown Object (File)
Thu, Oct 1, 3:51 PM
Unknown Object (File)
Sat, Sep 26, 11:33 PM
Unknown Object (File)
Thu, Sep 24, 7:10 AM
Unknown Object (File)
Thu, Sep 24, 6:41 AM
Unknown Object (File)
Sun, Sep 20, 10:32 PM
Subscribers

Details

Reviewers
manu
Summary

Add call to PWMBUS_CHANNEL_SET_FLAGS in attach(), dont expect the flags to change in pwm_backlight_update_status().

Fix percent calculation in call to pwm_backlight_find_level_per_percent() in the attach() function.

Fix linelength.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped