firmware loader: sync firmware cache by async_synchronize_full_domain
authorMing Lei <ming.lei@canonical.com>
Tue, 9 Oct 2012 04:01:04 +0000 (12:01 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 15:37:18 +0000 (08:37 -0700)
commitd28d3882bd1fdb88ae4e02f11b091a92b0e5068b
tree01c2208e2b5226cf84dc9de4e97456f874fdfa6b
parent746058f4304343507e48d39f80d7a3b0d8550e3a
firmware loader: sync firmware cache by async_synchronize_full_domain

async.c has provided synchronization mechanism on async_schedule_*,
so use async_synchronize_full_domain to sync caching firmware instead
of reinventing the wheel.

Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/firmware_class.c