aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorChen-Yu Tsai <[email protected]>2023-09-20 16:53:34 +0800
committerMark Brown <[email protected]>2023-09-20 14:04:40 +0100
commit7e37c851374eca2d1f6128de03195c9f7b4baaf2 (patch)
tree3031034f053d4b25e8a0b303f47c94cdee04f0e9 /lib/test_fortify/write_overflow-strncpy-src.c
parent6223e073db78458f8846c380ccd224a7a73a3867 (diff)
regulator: mt6358: split ops for buck and linear range LDO regulators
The buck and linear range LDO (VSRAM_*) regulators share one set of ops. This set includes support for get/set mode. However this only makes sense for buck regulators, not LDOs. The callbacks were not checking whether the register offset and/or mask for mode setting was valid or not. This ends up making the kernel report "normal" mode operation for the LDOs. Create a new set of ops without the get/set mode callbacks for the linear range LDO regulators. Fixes: f67ff1bd58f0 ("regulator: mt6358: Add support for MT6358 regulator") Signed-off-by: Chen-Yu Tsai <[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