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> |
||
---|---|---|
.. | ||
Makefile | ||
mtk-afe-fe-dai.c | ||
mtk-afe-fe-dai.h | ||
mtk-afe-platform-driver.c | ||
mtk-afe-platform-driver.h | ||
mtk-base-afe.h | ||
mtk-btcvsd.c |