]> 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)
commit41a13433acb6fde59f0053878c458f2b47cc8980
tree23dcb5dd9a86b37757110b84344f6a22dd82aeca
parentb1f4bce5f17e605e369cf1ca2496d9fbc051668c
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