projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a21553c
)
mmc: tmio: document CTL_STATUS handling
author
Wolfram Sang
<
[email protected]
>
Wed, 27 Apr 2016 16:51:27 +0000
(18:51 +0200)
committer
Ulf Hansson
<
[email protected]
>
Mon, 2 May 2016 08:36:03 +0000
(10:36 +0200)
Now that reading CTL_STATUS is consistent, we can remove CTL_STATUS2 and
document how this is handled internally.
Reviewed-by: Simon Horman <
[email protected]
>
Signed-off-by: Wolfram Sang <
[email protected]
>
Signed-off-by: Ulf Hansson <
[email protected]
>
drivers/mmc/host/tmio_mmc.h
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/tmio_mmc.h
b/drivers/mmc/host/tmio_mmc.h
index 8dd5ea4be0a371d76db9f23a299bd02838b6a91b..1aac2ad8edf265d02a676747e81cee0961ef540e 100644
(file)
--- a/
drivers/mmc/host/tmio_mmc.h
+++ b/
drivers/mmc/host/tmio_mmc.h
@@
-30,8
+30,9
@@
#define CTL_STOP_INTERNAL_ACTION 0x08
#define CTL_XFER_BLK_COUNT 0xa
#define CTL_RESPONSE 0x0c
+/* driver merges STATUS and following STATUS2 */
#define CTL_STATUS 0x1c
-#define CTL_STATUS2 0x1e
+/* driver merges IRQ_MASK and following IRQ_MASK2 */
#define CTL_IRQ_MASK 0x20
#define CTL_SD_CARD_CLK_CTL 0x24
#define CTL_SD_XFER_LEN 0x26