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)
Fri, Jan 17, 2:33 AM
Unknown Object (File)
Thu, Jan 16, 3:06 AM
Unknown Object (File)
Sep 10 2024, 9:26 AM
Unknown Object (File)
Aug 30 2024, 2:53 AM
Unknown Object (File)
Aug 29 2024, 4:56 PM
Unknown Object (File)
Aug 21 2024, 1:54 AM
Unknown Object (File)
Aug 21 2024, 1:28 AM
Unknown Object (File)
Jul 28 2024, 3:16 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