diff options
author | Obeida Shamoun <[email protected]> | 2021-03-14 11:11:10 +0100 |
---|---|---|
committer | Lee Jones <[email protected]> | 2021-03-22 14:29:03 +0000 |
commit | cdfd4c689e2a52c313b35ddfc1852ff274f91acb (patch) | |
tree | b5e3df01bb782acc81ff03f3eae319630eb95ee1 /tools/perf/util/trace-event-scripting.c | |
parent | 225be60f3853572f682b7ad3d0c1d4008edb6c6b (diff) |
backlight: qcom-wled: Use sink_addr for sync toggle
WLED3_SINK_REG_SYNC is, as the name implies, a sink register offset.
Therefore, use the sink address as base instead of the ctrl address.
This fixes the sync toggle on wled4, which can be observed by the fact
that adjusting brightness now works.
It has no effect on wled3 because sink and ctrl base addresses are the
same. This allows adjusting the brightness without having to disable
then reenable the module.
Signed-off-by: Obeida Shamoun <[email protected]>
Signed-off-by: Konrad Dybcio <[email protected]>
Signed-off-by: Marijn Suijten <[email protected]>
Reviewed-by: Daniel Thompson <[email protected]>
Acked-by: Kiran Gunda <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions