projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/amd/powerplay: disable FFC.
[linux-2.6-microblaze.git]
/
drivers
/
of
/
dynamic.c
diff --git
a/drivers/of/dynamic.c
b/drivers/of/dynamic.c
index
75ce30d
..
3033fa3
100644
(file)
--- a/
drivers/of/dynamic.c
+++ b/
drivers/of/dynamic.c
@@
-498,6
+498,11
@@
static void __of_changeset_entry_invert(struct of_changeset_entry *ce,
case OF_RECONFIG_UPDATE_PROPERTY:
rce->old_prop = ce->prop;
rce->prop = ce->old_prop;
+ /* update was used but original property did not exist */
+ if (!rce->prop) {
+ rce->action = OF_RECONFIG_REMOVE_PROPERTY;
+ rce->prop = ce->prop;
+ }
break;
}
}