mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2025-05-18 20:36:40 +00:00
Manually rebuild hack patches: - 200-tools_portability.patch - 204-module_strip.patch - 210-darwin_scripts_include.patch - 251-kconfig.patch - 421-drivers-mtd-parsers-add-nvmem-support-to-cmdlinepart.patch - 610-net-page_pool-try-to-free-deferred-skbs-while-waitin.patch - 721-net-add-packet-mangeling.patch - 725-net-phy-aquantia-add-PHY_IDs-for-AQR112-variants.patch - 760-net-usb-r8152-add-LED-configuration-from-OF.patch - 800-GPIO-add-named-gpio-exports.patch - 901-debloat_sock_diag.patch - 902-debloat_proc.patch - 904-debloat_dma_buf.patch - 910-kobject_uevent.patch - 911-kobject_add_broadcast_uevent.patch - 930-Revert-Revert-Revert-driver-core-Set-fw_devlink-on-b.patch Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> [ improve commit title ] Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
|
|
Date: Tue, 19 Jul 2022 06:17:48 +0200
|
|
Subject: [PATCH] Revert "Revert "Revert "driver core: Set fw_devlink=on by
|
|
default"""
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
This reverts commit ea718c699055c8566eb64432388a04974c43b2ea.
|
|
|
|
With of_platform_populate() called for MTD partitions that commit breaks
|
|
probing devices which reference MTD in device tree.
|
|
|
|
Link: https://lore.kernel.org/all/696cb2da-20b9-b3dd-46d9-de4bf91a1506@gmail.com/T/#u
|
|
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
|
---
|
|
drivers/base/core.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/base/core.c
|
|
+++ b/drivers/base/core.c
|
|
@@ -1653,7 +1653,7 @@ static void device_links_purge(struct de
|
|
#define FW_DEVLINK_FLAGS_RPM (FW_DEVLINK_FLAGS_ON | \
|
|
DL_FLAG_PM_RUNTIME)
|
|
|
|
-static u32 fw_devlink_flags = FW_DEVLINK_FLAGS_RPM;
|
|
+static u32 fw_devlink_flags = FW_DEVLINK_FLAGS_PERMISSIVE;
|
|
static int __init fw_devlink_setup(char *arg)
|
|
{
|
|
if (!arg)
|