Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40484060 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "firmware_class: make firmware caching configurable"

parents 0bbb20a1 53d9c1f9
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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
+3 −3
Original line number Diff line number Diff line
@@ -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
@@ -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;
@@ -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);

/**