diff options
author | Saravana Kannan <[email protected]> | 2023-02-06 17:42:04 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-02-08 13:37:55 +0100 |
commit | fb42378dcc7f247df56f0ecddfdae85487495fbc (patch) | |
tree | 9b806d58db1040d8216902e80fb15e8e0dddf638 /scripts/gdb/linux/tasks.py | |
parent | 96da4a99ce507bb98e2ba77018a2f91999c8c12b (diff) |
mtd: mtdpart: Don't create platform device that'll never probe
These "nvmem-cells" platform devices never get probed because there's no
platform driver for it and it's never used anywhere else. So it's a
waste of memory. These devices also cause fw_devlink to block nvmem
consumers of "nvmem-cells" partition from probing because the supplier
device never probes.
So stop creating platform devices for nvmem-cells partitions to avoid
wasting memory and to avoid blocking probing of consumers.
Reported-by: Maxim Kiselev <[email protected]>
Fixes: bcdf0315a61a ("mtd: call of_platform_populate() for MTD partitions")
Signed-off-by: Saravana Kannan <[email protected]>
Tested-by: Maksim Kiselev <[email protected]>
Tested-by: Douglas Anderson <[email protected]>
Tested-by: Geert Uytterhoeven <[email protected]>
Tested-by: Luca Weiss <[email protected]> # qcom/sm7225-fairphone-fp4
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions