Re: [PATCH] firmware loader: cancel uncache work before caching firmware

2012-10-02 Thread Ming Lei
On Tue, Oct 2, 2012 at 4:35 PM, Ming Lei wrote: > --- > drivers/base/firmware_class.c | 30 -- > 1 file changed, 24 insertions(+), 6 deletions(-) Please ignore the buggy patch, sorry for the noise. Thanks, -- Ming Lei -- To unsubscribe from this list: send the lin

[PATCH] firmware loader: cancel uncache work before caching firmware

2012-10-02 Thread Ming Lei
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 cachein