mmc: sh_mmcif: Add exclusion between cmd and interrupt
authorKouichi Tomita <kouichi.tomita.yn@renesas.com>
Sun, 15 Feb 2015 14:46:46 +0000 (23:46 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 23 Mar 2015 13:13:43 +0000 (14:13 +0100)
commitdbb42d962c4149fe2e97f74bf1343b5229eefe5e
treea2a1fced0c5290bbf1c677a9fe2171654683182e
parent4cbd52246533d1dc6449ef8278e95e5e0944a1e5
mmc: sh_mmcif: Add exclusion between cmd and interrupt

A command end interrupt should not be processed between command issue
and setting of wait_for flag. It expects already the flag to be set.
Therefore the exclusive control was added.

Signed-off-by: Kouichi Tomita <kouichi.tomita.yn@renesas.com>
Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sh_mmcif.c