Drivers do not need to call mmc_gpiod_request_cd_irq() explicitly
because mmc_start_host() calls it. To make it work, cd_gpio must
be set before mmc_add_host().
Signed-off-by: Masahiro Yamada
---
Changes in v2: None
drivers/mmc/host/tmio_mmc_core.c | 14 ++
1 file changed, 6 inser
On Sat, Nov 25, 2017 at 01:24:43AM +0900, Masahiro Yamada wrote:
> Drivers do not need to call mmc_gpiod_request_cd_irq() explicitly
> because mmc_start_host() calls it. To make it work, cd_gpio must
> be set before mmc_add_host().
>
> Signed-off-by: Masahiro Yamada
Reviewed-by: Wolfram Sang