platform: plic: Fix plic_set_priority()
authorBin Meng <bmeng.cn@gmail.com>
Wed, 13 Mar 2019 16:00:35 +0000 (00:00 +0800)
committerAnup Patel <anup@brainfault.org>
Thu, 14 Mar 2019 15:13:35 +0000 (20:43 +0530)
commitebe351e550cee8e2ffcc1883119e2f6e1e96dd82
tree3061ac18e10e065e03f462b4130736fa30f3db2e
parentab91c143a34357892a1ced36e3902a92b5aa8ca6
platform: plic: Fix plic_set_priority()

At present plic_set_priority() ignores the 'source' and the priority
register to be programmed is constant. Fix it.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
platform/common/irqchip/plic.c