]> git.karo-electronics.de Git - karo-tx-linux.git/commit
driver core: synchronize device shutdown
authorShaohua Li <shaohua.li@intel.com>
Tue, 12 May 2009 20:37:57 +0000 (13:37 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:30:24 +0000 (21:30 -0700)
commit401097ea4b89846d66ac78f7f108d49c2e922d9c
treeb16007ce17630731002757c02b25052e7ec7529c
parent400ced61fa4914457d7e0a38e7c0fc6fd208694b
driver core: synchronize device shutdown

A patch series to make .shutdown execute asynchronously.  Some drivers's
shutdown can take a lot of time.  The patches can help save some shutdown
time.  The patches use Arjan's async API.

This patch:

synchronize all tasks submitted by .shutdown

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Cc: Arjan van de Ven <arjan@infradead.org>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c