diff options
author | Ming Lei <ming.lei@canonical.com> | 2012-08-20 19:04:16 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-06 14:46:16 -0700 |
commit | ac39b3ea73aacde876d1d5ee1ca3e2719f771482 (patch) | |
tree | 58b9ee67654ea41ddba770f827d7f949ee1d40f2 /MAINTAINERS | |
parent | ef40bb1bd01738670bd567e3dce8e862f2b91bf3 (diff) | |
download | lwn-ac39b3ea73aacde876d1d5ee1ca3e2719f771482.tar.gz lwn-ac39b3ea73aacde876d1d5ee1ca3e2719f771482.zip |
firmware loader: let caching firmware piggyback on loading firmware
After starting caching firmware, there is still some time left
before devices are suspended, during the period, request_firmware
or its nowait version may still be triggered by the below situations
to load firmware images which can't be cached during suspend/resume
cycle.
- new devices added
- driver bind
- or device open kind of things
This patch utilizes the piggyback trick to cache firmware for
this kind of situation: just increase the firmware buf's reference
count and add the fw name entry into cache entry list after starting
caching firmware and before syscore_suspend() is called.
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions