[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAODwPW9-c8EcZh_zB6SwohzvHtCQasaNLQM0fj2bj5O5KuVPfg@mail.gmail.com>
Date: Thu, 23 Apr 2020 15:17:06 -0700
From: Julius Werner <jwerner@...omium.org>
To: Evan Benn <evanbenn@...omium.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Julius Werner <jwerner@...omium.org>,
Xingyu Chen <xingyu.chen@...ogic.com>,
Anson Huang <Anson.Huang@....com>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Catalin Marinas <catalin.marinas@....com>,
"David S. Miller" <davem@...emloft.net>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Guenter Roeck <linux@...ck-us.net>,
Leonard Crestez <leonard.crestez@....com>,
Li Yang <leoyang.li@....com>,
Marcin Juszkiewicz <marcin.juszkiewicz@...aro.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Mauro Carvalho Chehab <mchehab+huawei@...nel.org>,
Olof Johansson <olof@...om.net>, Rob Herring <robh@...nel.org>,
Shawn Guo <shawnguo@...nel.org>,
Valentin Schneider <valentin.schneider@....com>,
Will Deacon <will@...nel.org>,
Wim Van Sebroeck <wim@...ux-watchdog.org>,
"moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE"
<linux-arm-kernel@...ts.infradead.org>,
"moderated list:ARM/Mediatek SoC support"
<linux-mediatek@...ts.infradead.org>,
LINUX-WATCHDOG <linux-watchdog@...r.kernel.org>
Subject: Re: [PATCH v5 2/2] watchdog: Add new arm_smc_wdt watchdog driver
> + err = of_property_read_u32(pdev->dev.of_node, "arm,smc-id",
> + &smc_func_id);
> + if (err < 0)
> + return err;
> + watchdog_set_drvdata(wdd, (void *)(uintptr_t)smc_func_id);
Your device tree binding says there's a default and this is optional.
I think you need to change the code so that that's actually true.
Powered by blists - more mailing lists