mmc: host: use spinlock to lock across the acquire ownership
authorChuanxiao Dong <chuanxiao.dong@intel.com>
Tue, 19 Jun 2012 08:33:11 +0000 (16:33 +0800)
committerbuildbot <buildbot@intel.com>
Tue, 26 Jun 2012 04:12:16 +0000 (21:12 -0700)
commite215a8611816b56da7e12245c562a64b9f4ee90b
tree5108b7ade18e3f591448625aaa79f2298c00a8df
parent78cb34d8e4966b1b54695882e68d408339a53cdf
mmc: host: use spinlock to lock across the acquire ownership

BZ: 42752

use spin lock to across the acquiring ownership to protect IA threads
compete

Change-Id: I1492b5fad0d309efb812adab37fa45744adccb52
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Reviewed-on: http://android.intel.com:8080/53370
Reviewed-by: Zhang, Yanmin <yanmin.zhang@intel.com>
Tested-by: Sun, Jianhua <jianhua.sun@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: Tang, Richard <richard.tang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/mmc/host/sdhci.c