Skip to content
Commit 1ce8182b authored by Bin Meng's avatar Bin Meng Committed by Andes
Browse files

sysreset: syscon: Don't assume default value for offset and mask property



Per the DT binding, <offset> is a required property. Let's abort
the probe if it is missing. For the <mask> property, current codes
assume a default value of zero, which is not correct either.

Signed-off-by: default avatarBin Meng <bin.meng@windriver.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarPragnesh Patel <pragnesh.patel@sifive.com>
parent 265d46ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment