Enric Balletbo i Serra <[email protected]> 於 2020年10月7日 週三 上午3:33寫道: > > From: CK Hu <[email protected]> > > Actually, setting the registers for routing, use multiple 'if-else' for > different > routes, but this code would be more and more complicated while we > support more and more SoCs. Change that and use a table per SoC so the > code will be more portable and clear.
Reviewed-by: Chun-Kuang Hu <[email protected]> > > Signed-off-by: CK Hu <[email protected]> > Signed-off-by: Enric Balletbo i Serra <[email protected]> > --- > > drivers/soc/mediatek/mtk-mmsys.c | 393 +++++++++++++++++-------------- > 1 file changed, 210 insertions(+), 183 deletions(-) >

