Re: [PATCH v2 08/22] mmc: tmio: move mmc_gpio_request_cd() before mmc_add_host()

From: Wolfram Sang
Date: Mon Dec 04 2017 - 10:14:59 EST


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 <yamada.masahiro@xxxxxxxxxxxxx>

Reviewed-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>