diff options
author | Axel Lin <[email protected]> | 2022-08-28 20:01:53 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-09-09 22:27:13 +0100 |
commit | 69a673c9e54d952cf404f80169d3100b7a9645bb (patch) | |
tree | 98ff3c4620d3207b8713eb147994c6fdeddf7d19 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 8478ed5844588703a1a4c96a004b1525fbdbdd5e (diff) |
regulator: tps65219: Fix .bypass_val_on setting
The .bypass_val_on setting does not match the .bypass_mask setting, so the
.bypass_mask bit will never get set. Fix it by removing .bypass_val_on
setting, the regulator_set_bypass_regmap and regulator_get_bypass_regmap
helpers will use rdev->desc->bypass_mask as val_on if the val_on is 0.
Signed-off-by: Axel Lin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions