]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit95990544005659be5d7696da2de5faa1aaf87ab1
treea2a1fced0c5290bbf1c677a9fe2171654683182e
parent7a6fd228b7bf47250afe5e4293ae6a75c5eaf27e
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