]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: mmci: clean up header defines
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 25 Oct 2016 09:06:05 +0000 (11:06 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 29 Nov 2016 08:00:46 +0000 (09:00 +0100)
commit2b0b44e7943b7b222deb4480b9cf41fed31ad456
tree23dcb5dd9a86b37757110b84344f6a22dd82aeca
parentdb59a51a3335d92c530f7b4dabb545001f3d3981
mmc: mmci: clean up header defines

There was some confusion in the CPSM (Command Path State Machine)
and DPSM (Data Path State Machine) regarding the naming of the
registers, clarify the meaning of this acronym so the naming is
understandable, and consistently use BIT() to define these fields.

Consequently name the register bit defines MCI_[C|D]PSM_* and
adjust the driver as well.

Include new definitions for a few bits found in a patch from
Srinivas Kandagatla.

Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mmci.c
drivers/mmc/host/mmci.h