-
由 CK Hu 提交于
SOUT has many bits and need to be cleared before set new value. Write only could do the clear, but for MOUT, it clears bits that should not be cleared. So use a mask to reset only the needed bits. this fixes HDMI issues on MT7623/BPI-R2 since 5.13 Fixes: 44014763 ("soc: mediatek: mmsys: Use an array for setting the routing registers") Signed-off-by: NFrank Wunderlich <frank-w@public-files.de> Signed-off-by: NCK Hu <ck.hu@mediatek.com> Reviewed-by: NChun-Kuang Hu <chunkuang.hu@kernel.org> Reviewed-by: NHsin-Yi Wang <hsinyi@chromium.org> Link: https://lore.kernel.org/r/20210729070549.5514-1-linux@fw-web.deSigned-off-by: NMatthias Brugger <matthias.bgg@gmail.com>
7bdcead7