Skip to content
Snippets Groups Projects
Commit 8d549b61 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Jaehoon Chung
Browse files

mmc: sdhci: move sdhci_reset() call to sdhci_init()


If CONFIG_BLK is enabled, add_sdhci() is never called.
So, sdhci_reset() is not called, either.  This is a problem for
my board as it needs the reset to start from a sane state.

Move the add_sdhci() call to sdhci_init(), which is visited
by both of the with/without CONFIG_BLK cases.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 9b1b6d42
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment