summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorMing Lei <ming.lei@canonical.com>2012-10-09 12:01:01 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-22 08:37:16 -0700
commit373304fe10fc46e68815c7116709ad292695dfd1 (patch)
treee81c57ff5959628e61e93ff62f13a1b5151cd1b7 /samples
parent6f0c0580b70c89094b3422ba81118c7b959c7556 (diff)
downloadlinux-373304fe10fc46e68815c7116709ad292695dfd1.tar.bz2
firmware loader: cancel uncache work before caching firmware
Under 'Opportunistic sleep' situation, system sleep might be triggered very frequently, so the uncahce work may not be completed before caching firmware during next suspend. This patch cancels the uncache work before caching firmware to fix the problem above. Also this patch optimizes the cacheing firmware mechanism a bit by only storing one firmware cache entry for one firmware image. So if the firmware is still cached during suspend, it doesn't need to be loaded from user space any more. Signed-off-by: Ming Lei <ming.lei@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions