aboutsummaryrefslogtreecommitdiff
path: root/drivers/base/Kconfig
diff options
context:
space:
mode:
authorAjay Dudani <adudani@google.com>2017-09-01 16:49:19 -0700
committerMister Oyster <oysterized@gmail.com>2017-12-19 14:54:22 +0100
commit95df9393016ee9d5f339eac3a2003689dfc0f161 (patch)
tree73a50f0637187a927ddb5e0f10560ca7407118ac /drivers/base/Kconfig
parentd6b16200598a3d46852afedbb429d3d9a7ee79c2 (diff)
firmware_class: make firmware caching configurable
Because firmware caching generates uevent messages that are sent over a netlink socket, it can prevent suspend on many platforms. It's also not always useful, so make it a configurable option. Bug: 38289596 Change-Id: I1c62227129590f564b127de6dbcaf0001b2c22ad Signed-off-by: Ajay Dudani <adudani@google.com>
Diffstat (limited to 'drivers/base/Kconfig')
-rw-r--r--drivers/base/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig
index aaf62a062..c8d1ba190 100644
--- a/drivers/base/Kconfig
+++ b/drivers/base/Kconfig
@@ -82,6 +82,11 @@ config FW_LOADER
require userspace firmware loading support, but a module built
out-of-tree does.
+config FW_CACHE
+ bool "Enable firmware caching during suspend"
+ depends on PM_SLEEP
+ default n
+
config FIRMWARE_IN_KERNEL
bool "Include in-kernel firmware blobs in kernel binary"
depends on FW_LOADER