OpenCloudOS-Kernel/drivers/base/firmware_loader
Luis R. Rodriguez 5d42c96e1c firmware: add firmware_request_cache() to help with cache on reboot
Some devices have an optimization in place to enable the firmware to
be retaineed during a system reboot, so after reboot the device can skip
requesting and loading the firmware. This can save up to 1s in load
time. The mt7601u 802.11 device happens to be such a device.

When these devices retain the firmware on a reboot and then suspend
they can miss looking for the firmware on resume. To help with this we
need a way to cache the firmware when such an optimization has taken
place.

Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-22 18:33:26 +01:00
..
Makefile firmware: move firmware loader into its own directory 2018-03-20 09:28:46 +01:00
fallback.c firmware: fix typo on pr_info_once() when ignore_sysfs_fallback is used 2018-03-22 18:33:26 +01:00
fallback.h firmware: enable to force disable the fallback mechanism at run time 2018-03-20 09:28:47 +01:00
fallback_table.c firmware: enable to force disable the fallback mechanism at run time 2018-03-20 09:28:47 +01:00
firmware.h firmware: move firmware loader into its own directory 2018-03-20 09:28:46 +01:00
main.c firmware: add firmware_request_cache() to help with cache on reboot 2018-03-22 18:33:26 +01:00