mmc: tmio: add references to bit defines in the header
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 30 Jun 2017 10:56:47 +0000 (12:56 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:25 +0000 (14:01 +0200)
When defining bits, make sure we always have a reference to the register
they belong to. For now, renaming all bits properly seems too intrusive,
so at least make sure we have proper documentation.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/tmio_mmc.h

index b161dfadfec25dc7c7c2f9f85c944209ca4fe105..e3e96178acaab4562cb0858c5c8aa2e47ef36abd 100644 (file)
 #define TMIO_STAT_CMD_BUSY      BIT(30)
 #define TMIO_STAT_ILL_ACCESS    BIT(31)
 
+/* Definitions for values the CTL_SD_CARD_CLK_CTL register can take */
 #define        CLK_CTL_DIV_MASK        0xff
 #define        CLK_CTL_SCLKEN          BIT(8)
 
+/* Definitions for values the CTL_SD_MEM_CARD_OPT register can take */
 #define CARD_OPT_WIDTH8                BIT(13)
 #define CARD_OPT_WIDTH         BIT(15)