lkml.org 
[lkml]   [2020]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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.

\
 
 \ /
  Last update: 2020-04-24 00:18    [W:0.100 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site