summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/tmio_mmc.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-01-18 01:28:03 +0900
committerUlf Hansson <ulf.hansson@linaro.org>2018-01-18 09:08:56 +0100
commit6fb294f791af8f491812d4eef6b13a57c9c1de34 (patch)
treea98ca666c5af0ee4b5cdfc86d6ad38acb7651c82 /drivers/mmc/host/tmio_mmc.c
parentb21fc294387e4cf7916c132f7d6aaeebd4483a16 (diff)
downloadlinux-6fb294f791af8f491812d4eef6b13a57c9c1de34.tar.gz
linux-6fb294f791af8f491812d4eef6b13a57c9c1de34.tar.bz2
linux-6fb294f791af8f491812d4eef6b13a57c9c1de34.zip
mmc: tmio: move {tmio_}mmc_of_parse() to tmio_mmc_host_alloc()
mmc_of_parse() parses various DT properties and sets capability flags accordingly. However, drivers have no chance to run platform init code depending on such flags because mmc_of_parse() is called from tmio_mmc_host_probe(). Move mmc_of_parse() to tmio_mmc_host_alloc() so that drivers can handle capabilities before mmc_add_host(). Move tmio_mmc_of_parse() likewise. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/tmio_mmc.c')
0 files changed, 0 insertions, 0 deletions