Loading drivers/base/Kconfig +5 −0 Original line number Diff line number Diff line Loading @@ -90,6 +90,11 @@ config PREVENT_FIRMWARE_BUILD source "drivers/base/firmware_loader/Kconfig" config FW_CACHE bool "Enable firmware caching during suspend" depends on PM_SLEEP default n config WANT_DEV_COREDUMP bool help Loading drivers/base/firmware_loader/main.c +3 −3 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ struct firmware_cache { struct list_head head; int state; #ifdef CONFIG_PM_SLEEP #ifdef CONFIG_FW_CACHE /* * Names of firmware images which have been cached successfully * will be added into the below list so that device uncache Loading Loading @@ -377,7 +377,7 @@ static void fw_set_page_data(struct fw_priv *fw_priv, struct firmware *fw) (unsigned int)fw_priv->size); } #ifdef CONFIG_PM_SLEEP #ifdef CONFIG_FW_CACHE static void fw_name_devm_release(struct device *dev, void *res) { struct fw_name_devm *fwn = res; Loading Loading @@ -861,7 +861,7 @@ request_firmware_nowait( } EXPORT_SYMBOL(request_firmware_nowait); #ifdef CONFIG_PM_SLEEP #ifdef CONFIG_FW_CACHE static ASYNC_DOMAIN_EXCLUSIVE(fw_cache_domain); /** Loading Loading
drivers/base/Kconfig +5 −0 Original line number Diff line number Diff line Loading @@ -90,6 +90,11 @@ config PREVENT_FIRMWARE_BUILD source "drivers/base/firmware_loader/Kconfig" config FW_CACHE bool "Enable firmware caching during suspend" depends on PM_SLEEP default n config WANT_DEV_COREDUMP bool help Loading
drivers/base/firmware_loader/main.c +3 −3 Original line number Diff line number Diff line Loading @@ -50,7 +50,7 @@ struct firmware_cache { struct list_head head; int state; #ifdef CONFIG_PM_SLEEP #ifdef CONFIG_FW_CACHE /* * Names of firmware images which have been cached successfully * will be added into the below list so that device uncache Loading Loading @@ -377,7 +377,7 @@ static void fw_set_page_data(struct fw_priv *fw_priv, struct firmware *fw) (unsigned int)fw_priv->size); } #ifdef CONFIG_PM_SLEEP #ifdef CONFIG_FW_CACHE static void fw_name_devm_release(struct device *dev, void *res) { struct fw_name_devm *fwn = res; Loading Loading @@ -861,7 +861,7 @@ request_firmware_nowait( } EXPORT_SYMBOL(request_firmware_nowait); #ifdef CONFIG_PM_SLEEP #ifdef CONFIG_FW_CACHE static ASYNC_DOMAIN_EXCLUSIVE(fw_cache_domain); /** Loading