diff options
author | Michal Suchanek <[email protected]> | 2023-02-01 10:22:47 -0600 |
---|---|---|
committer | Rob Herring <[email protected]> | 2023-02-02 17:10:33 -0600 |
commit | 241d2fb56a18473af5f2ff0d512992a996eb64dd (patch) | |
tree | 364a9d7a1864f459ac37dabcd253cd769795abfb /scripts/gdb/linux/lists.py | |
parent | 064e32dc5b03114d0767893fecdaf7b5dfd8c286 (diff) |
of: Make OF framebuffer device names unique
Since Linux 5.19 this error is observed:
sysfs: cannot create duplicate filename '/devices/platform/of-display'
This is because multiple devices with the same name 'of-display' are
created on the same bus. Update the code to create numbered device names
for the displays.
Also, fix a node refcounting issue when exiting the boot display loop.
cc: [email protected]
References: https://bugzilla.kernel.org/show_bug.cgi?id=216095
Fixes: 52b1b46c39ae ("of: Create platform devices for OF framebuffers")
Reported-by: Erhard F. <[email protected]>
Suggested-by: Thomas Zimmermann <[email protected]>
Signed-off-by: Michal Suchanek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[robh: Rework to avoid node refcount leaks]
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions