>-----Original Message-----
>From: Bin Meng <[email protected]>
>Sent: 23 June 2020 11:00
>To: Rick Chen <[email protected]>; Simon Glass <[email protected]>;
>Pragnesh Patel <[email protected]>; Sagar Kadam
><[email protected]>; U-Boot Mailing List <[email protected]>
>Cc: Bin Meng <[email protected]>
>Subject: [PATCH 1/5] sysreset: syscon: Don't assume default value for offset
>and mask property
>
>[External Email] Do not click links or attachments unless you recognize the
>sender and know the content is safe
>
>From: Bin Meng <[email protected]>
>
>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: Bin Meng <[email protected]>
>---
>
> drivers/sysreset/sysreset_syscon.c | 14 ++++++++++++--
> 1 file changed, 12 insertions(+), 2 deletions(-)

Reviewed-by: Pragnesh Patel <[email protected]>

Reply via email to