]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb3975fa8aef45eeca0cef75702e8e7305372030b
treef08a976d181d0c47d3ae16028e6ef09081700ecb
parent600e46a3dbb6a7fc96fb11b3219874d67ab97f58
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