summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorCK Hu <ck.hu@mediatek.com>2021-03-17 19:17:10 +0100
committerMatthias Brugger <matthias.bgg@gmail.com>2021-03-30 11:07:31 +0200
commit440147639ac79f699a4eb9811d0bc39d3cc815f4 (patch)
treed506485df10e0d24af087a3e78090db8e6254574 /samples
parentce15e7faa2fc5494abe72e1ce6f7698a7834e986 (diff)
downloadlinux-next-440147639ac79f699a4eb9811d0bc39d3cc815f4.tar.gz
soc: mediatek: mmsys: Use an array for setting the routing registers
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. Signed-off-by: CK Hu <ck.hu@mediatek.com> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Link: https://lore.kernel.org/r/20210317181711.795245-3-enric.balletbo@collabora.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions