]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
mmc: update workqueue usages
authorTejun Heo <tj@kernel.org>
Fri, 24 Dec 2010 15:00:17 +0000 (16:00 +0100)
committerTejun Heo <tj@kernel.org>
Fri, 24 Dec 2010 15:00:17 +0000 (16:00 +0100)
commit0d9ee5b2e9aac981fa063339daf04320eac610d1
tree38f3674addbef483da038421ef2b3f4b7c2d9234
parentafdb32f2e463a195c104555ac9a8cdd39a2b6561
mmc: update workqueue usages

Workqueue creation API has been updated and flush_scheduled_work() is
deprecated and scheduled to be removed.

* core/core.c: Use alloc_ordered_workqueue() instead of
  create_singlethread_workqueue().  This removes an unnecessary
  rescuer.

* host/omap.c: Create, use and flush mmc_omap_wq instead of the
  system_wq.

* Flush host->mmc_carddetect_work directly on removal instead of using
  flush_scheduled_work().

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Chris Ball <cjb@laptop.org>
Cc: linux-mmc@vger.kernel.org
drivers/mmc/core/core.c
drivers/mmc/host/omap.c
drivers/mmc/host/omap_hsmmc.c