Hi Shimoda-san, Thanks for your patch. On 2020-11-06 18:25:30 +0900, Yoshihiro Shimoda wrote: > The commit 94b110aff867 ("mmc: tmio: add tmio_mmc_host_alloc/free()") > added tmio_mmc_host_free(), but missed the function calling in > the sh_mobile_sdhi_remove() at that time. So, fix it. Otherwise, > we cannot rebind the sdhi/mmc devices when we use aliases of mmc. > > Fixes: 94b110aff867 ("mmc: tmio: add tmio_mmc_host_alloc/free()") > Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@xxxxxxxxxxxx> > --- > drivers/mmc/host/renesas_sdhi_core.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mmc/host/renesas_sdhi_core.c b/drivers/mmc/host/renesas_sdhi_core.c > index 4143141..03c905a 100644 > --- a/drivers/mmc/host/renesas_sdhi_core.c > +++ b/drivers/mmc/host/renesas_sdhi_core.c > @@ -1160,6 +1160,7 @@ int renesas_sdhi_remove(struct platform_device *pdev) > > tmio_mmc_host_remove(host); > renesas_sdhi_clk_disable(host); > + tmio_mmc_host_free(host); > > return 0; > } > -- > 2.7.4 > -- Regards, Niklas Söderlund