]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commit5db3eee7b914b8629b88bbad5a9ea196ce8de0cd
tree23dcb5dd9a86b37757110b84344f6a22dd82aeca
parent18fae5c45c4ba3c21e8635510f89daf6c025804d
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