projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
590e15c
)
bus: ti-sysc: Don't warn about legacy property for nested ti-sysc devices
author
Tony Lindgren
<tony@atomide.com>
Mon, 24 Feb 2020 20:58:03 +0000
(12:58 -0800)
committer
Tony Lindgren
<tony@atomide.com>
Wed, 26 Feb 2020 18:03:35 +0000
(10:03 -0800)
In some cases we can have nested ti-sysc instances that may still use the
legacy "ti,hwmods" property. Let's not warn if that's the case.
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/bus/ti-sysc.c
patch
|
blob
|
history
diff --git
a/drivers/bus/ti-sysc.c
b/drivers/bus/ti-sysc.c
index
c029861
..
4e87eb5
100644
(file)
--- a/
drivers/bus/ti-sysc.c
+++ b/
drivers/bus/ti-sysc.c
@@
-624,7
+624,7
@@
static void sysc_check_one_child(struct sysc *ddata,
const char *name;
name = of_get_property(np, "ti,hwmods", NULL);
- if (name)
+ if (name
&& !of_device_is_compatible(np, "ti,sysc")
)
dev_warn(ddata->dev, "really a child ti,hwmods property?");
sysc_check_quirk_stdout(ddata, np);