c683964153
Change the signature of mtk_regmap_update_bits to also take a shift, and warn when reg >= 0 but shift < 0. This reduce the code repetition on the calling side, and prevent future UBSAN warning when some of the xxx_shift and xxx_reg are both set to -1. Signed-off-by: Pi-Hsun Shih <pihsun@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org> |
||
---|---|---|
.. | ||
common | ||
mt2701 | ||
mt6797 | ||
mt8173 | ||
mt8183 | ||
Kconfig | ||
Makefile |