]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: core: Ensure clocks are always enabled before host interaction
authorSujit Reddy Thumma <sthumma@codeaurora.org>
Sat, 4 Feb 2012 21:14:50 +0000 (16:14 -0500)
committerChris Ball <cjb@laptop.org>
Tue, 14 Feb 2012 01:38:58 +0000 (20:38 -0500)
commita10685772284e12a92cf93678eb04356e9f1d681
treee9792b49e457393d275db4ab3948fa95f1ef57d6
parent3f34c680c28578c53f23e66aee0be56137be609c
mmc: core: Ensure clocks are always enabled before host interaction

Ensure clocks are always enabled before any interaction with the
host controller driver. This makes sure that there is no race
between host execution and the core layer turning off clocks
in different context with clock gating framework.

Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Per Forlin <per.forlin@stericsson.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/core.c
drivers/mmc/core/host.h
drivers/mmc/core/sd.c
drivers/mmc/core/sdio_irq.c
include/linux/mmc/host.h