Demon000
25523a776d
davinci: light: Do not turn on breathing for unlit hardware states
...
Change-Id: I093fb2fb81012a473eda232d3c3407d0e0791907
2020-08-05 14:03:32 +02:00
Demon000
13a3863832
davinci: light: Avoid resetting state
...
The handler function is called regardless of whether the value of the
highest priority state changed.
In case of the notification led, this translates to the breathing
process being reset, which triggers my OCD.
Change-Id: I4880b00602cbb739219871f1d7ce9ad85d87bc1b
2020-08-05 14:03:32 +02:00
Demon000
feedda1d84
davinci: light: Avoid uint32_t underflow
...
Change-Id: If4f9360cc301ee8ba9f432dbbe3379c2c634c574
2020-08-05 14:03:32 +02:00
Demon000
e5440961f0
davinci: light: Properly scale brightness range
...
Change-Id: I0c7b9d2644bbc67a1d404e60bbb2fcc7d8a305ec
2020-08-05 14:03:32 +02:00
Arian
5af8701925
davinci: lights: Adjust for davincis LEDs
...
Change-Id: If9e5afe292b023a8aa4d5ba509e206f9a4ff371f
2020-08-05 14:03:32 +02:00
Demon000
3e94ffe9a3
davinci: light: Import HAL from Xiaomi msm8998-common
...
Change-Id: Ieee4277f15927b4522deaec9a709809cf6db6fea
2020-08-05 14:03:32 +02:00