projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
635ae6f
)
mmc: matsushita-common: Handle bus width 0
author
Marek Vasut
<
[email protected]
>
Mon, 29 Jan 2018 23:41:42 +0000
(
00:41
+0100)
committer
Marek Vasut
<
[email protected]
>
Wed, 11 Apr 2018 21:11:58 +0000
(23:11 +0200)
Handle bus width 0 as 1-bit bus to assure valid content of
MATSU_SD_OPTION register WIDTH field.
Signed-off-by: Marek Vasut <
[email protected]
>
Cc: Jaehoon Chung <
[email protected]
>
Cc: Masahiro Yamada <
[email protected]
>
drivers/mmc/matsushita-common.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/matsushita-common.c
b/drivers/mmc/matsushita-common.c
index 11e4553d8734c08d9afd785dc25c291ce642bfa4..377f349b41a36f1108b42a55801f81b8c91bfe49 100644
(file)
--- a/
drivers/mmc/matsushita-common.c
+++ b/
drivers/mmc/matsushita-common.c
@@
-504,6
+504,7
@@
static int matsu_sd_set_bus_width(struct matsu_sd_priv *priv,
u32 val, tmp;
switch (mmc->bus_width) {
+ case 0:
case 1:
val = MATSU_SD_OPTION_WIDTH_1;
break;