mmc: omap: convert to per instance workqueue
authorVenkatraman S <svenkatr@ti.com>
Tue, 8 May 2012 11:35:33 +0000 (17:05 +0530)
committerChris Ball <cjb@laptop.org>
Thu, 17 May 2012 12:25:41 +0000 (08:25 -0400)
commitb01a4f1ce2cde9acd97ce5c06e35bc9c1eacded7
treef08a976d181d0c47d3ae16028e6ef09081700ecb
parentf6f44590f231cdf914ce740f3a53a6b815bf4767
mmc: omap: convert to per instance workqueue

Currently, a global mmc_omap_wq is created for all instances of omap
hosts, which can lead to races and doesn't lend itself to unload the
module cleanly.  Instead, create per instance workqueue and remove
 the common workqueue.

Signed-off-by: Venkatraman S <svenkatr@ti.com>
Acked-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/omap.c