summaryrefslogtreecommitdiffstats
path: root/drivers/base/power
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@kernel.org>2018-03-10 15:14:59 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-20 09:28:47 +0100
commit995e8695f65db7a8b465b5c27887b32e8e5bb66e (patch)
tree14765863ac5c5cf5a646f7f8dc807c4de9d147a2 /drivers/base/power
parenttest_firmware: modify custom fallback tests to use unique files (diff)
downloadlinux-995e8695f65db7a8b465b5c27887b32e8e5bb66e.tar.xz
linux-995e8695f65db7a8b465b5c27887b32e8e5bb66e.zip
firmware: ensure the firmware cache is not used on incompatible calls
request_firmware_into_buf() explicitly disables the firmware cache, meanwhile the firmware cache cannot be used when request_firmware_nowait() is used without the uevent. Enforce a sanity check for this to avoid future issues undocumented behaviours should misuses of the firmware cache happen later. One of the reasons we want to enforce this is the firmware cache is used for helping with suspend/resume, and if incompatible calls use it they can stall suspend. Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/power')
0 files changed, 0 insertions, 0 deletions