930-Revert-Revert-Revert-driver-core-Set-fw_devlink-on-b.patch 1.0 KB

123456789101112131415161718192021222324252627282930
  1. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]>
  2. Date: Tue, 19 Jul 2022 06:17:48 +0200
  3. Subject: [PATCH] Revert "Revert "Revert "driver core: Set fw_devlink=on by
  4. default"""
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. This reverts commit ea718c699055c8566eb64432388a04974c43b2ea.
  9. With of_platform_populate() called for MTD partitions that commit breaks
  10. probing devices which reference MTD in device tree.
  11. Link: https://lore.kernel.org/all/[email protected]/T/#u
  12. Signed-off-by: Rafał Miłecki <[email protected]>
  13. ---
  14. drivers/base/core.c | 2 +-
  15. 1 file changed, 1 insertion(+), 1 deletion(-)
  16. --- a/drivers/base/core.c
  17. +++ b/drivers/base/core.c
  18. @@ -1702,7 +1702,7 @@ static void device_links_purge(struct de
  19. #define FW_DEVLINK_FLAGS_RPM (FW_DEVLINK_FLAGS_ON | \
  20. DL_FLAG_PM_RUNTIME)
  21. -static u32 fw_devlink_flags = FW_DEVLINK_FLAGS_ON;
  22. +static u32 fw_devlink_flags = FW_DEVLINK_FLAGS_PERMISSIVE;
  23. static int __init fw_devlink_setup(char *arg)
  24. {
  25. if (!arg)