aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorFenglin Wu <[email protected]>2024-04-15 16:03:40 -0700
committerDmitry Torokhov <[email protected]>2024-04-15 16:21:45 -0700
commit48c0687a322d54ac7e7a685c0b6db78d78f593af (patch)
treef23a3380b802bac0324ae193a59102a04a733b7d /scripts/bpf_doc.py
parentba2ec9c4f0c8ab59befc7f62e1606a840347f020 (diff)
Input: pm8xxx-vibrator - correct VIB_MAX_LEVELS calculation
The output voltage is inclusive hence the max level calculation is off-by-one-step. Correct it. iWhile we are at it also add a define for the step size instead of using the magic value. Fixes: 11205bb63e5c ("Input: add support for pm8xxx based vibrator driver") Signed-off-by: Fenglin Wu <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/20240412-pm8xxx-vibrator-new-design-v10-1-0ec0ad133866@quicinc.com Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions