Re: [PATCH v3 02/13] backlight: add backlight_is_blank()

2020-06-01 Thread Peter Ujfalusi
On 01/06/2020 9.51, Sam Ravnborg wrote: > The backlight support has two properties that express the state: > - power > - state > > It is un-documented and easy to get wrong. > Add backlight_is_blank() helper to make it simpler > for drivers to get the check of the state correct. > > A lot of dr

[PATCH v3 02/13] backlight: add backlight_is_blank()

2020-05-31 Thread Sam Ravnborg
The backlight support has two properties that express the state: - power - state It is un-documented and easy to get wrong. Add backlight_is_blank() helper to make it simpler for drivers to get the check of the state correct. A lot of drivers also includes checks for fb_blank. This check is redun