Messages in this thread | | | Date | Mon, 20 Nov 2017 21:47:11 +0100 | From | Wolfram Sang <> | Subject | Re: [PATCH 6/6] mmc: tmio: move mmc_of_parse() out of tmio_mmc_host_probe() |
| |
On Tue, Nov 07, 2017 at 05:09:32PM +0900, Masahiro Yamada wrote: > 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() out of tmio_mmc_host_probe() so that drivers can > handle capabilities before mmc_add_host(). > > Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
I'll just add this:
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
because you wanted to still try which solution is better.
[unhandled content-type:application/pgp-signature] | |