platform: plic: Fix comments of programming the interrupt enable register
authorBin Meng <bmeng.cn@gmail.com>
Thu, 14 Mar 2019 08:12:44 +0000 (16:12 +0800)
committerAnup Patel <anup@brainfault.org>
Mon, 18 Mar 2019 12:48:16 +0000 (18:18 +0530)
commite921fc26911bd27cf715483b60c22920812aab21
tree87b66c90e5c3992f1ad2c7c121f8e4b6686f3105
parent6c39ea99ee681de9e33004aa0075771be351a8cb
platform: plic: Fix comments of programming the interrupt enable register

The codes that currently program the interrupt enable register for
S-mode disagrees with what the comments say. Fix the comments.

While we are here, add one line comment to describe what is done
for M-mode too.

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