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)
Dec 17 2025, 2:03 PM
Unknown Object (File)
Nov 27 2025, 10:34 PM
Unknown Object (File)
Nov 26 2025, 10:32 PM
Unknown Object (File)
Oct 21 2025, 2:33 AM
Unknown Object (File)
Oct 21 2025, 2:33 AM
Unknown Object (File)
Oct 20 2025, 4:42 PM
Unknown Object (File)
Oct 10 2025, 4:02 AM
Unknown Object (File)
Sep 12 2025, 8:01 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