Re: [PATCH] mci: stm32_sdmmc2: add detect function

2020-05-15 Thread Lucas Stach
Hi Ahmad, Am Mittwoch, den 13.05.2020, 20:38 +0200 schrieb Ahmad Fatoum: > Hello Lucas, > > On 5/13/20 2:08 PM, Lucas Stach wrote: > > This way we can avoid probing for the SD/MMC devices at startup > > and just detect them when actually needed. > > Is there a reason we can't have mci_register

Re: [PATCH] mci: stm32_sdmmc2: add detect function

2020-05-13 Thread Ahmad Fatoum
Hello Lucas, On 5/13/20 2:08 PM, Lucas Stach wrote: > This way we can avoid probing for the SD/MMC devices at startup > and just detect them when actually needed. Is there a reason we can't have mci_register do it for every MCI.hw_dev at registration time? Out of 17 MCI drivers, 8 already have

[PATCH] mci: stm32_sdmmc2: add detect function

2020-05-13 Thread Lucas Stach
This way we can avoid probing for the SD/MMC devices at startup and just detect them when actually needed. Signed-off-by: Lucas Stach --- drivers/mci/stm32_sdmmc2.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/mci/stm32_sdmmc2.c b/drivers/mci/stm32_sdmmc2.c index