mmc_fdt_helpers: Drain the cd pin taskqueue in mmc_fdt_gpio_teardown

We have no use for it now.

MFC after:	1 month
This commit is contained in:
Emmanuel Vadot 2020-04-16 15:58:58 +00:00
parent 4fda71e8d9
commit 0f2f8632dc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=360009

View File

@ -381,6 +381,8 @@ mmc_fdt_gpio_teardown(struct mmc_fdt_helper *helper)
gpio_pin_release(helper->cd_pin);
if (helper->cd_ires != NULL)
bus_release_resource(helper->dev, SYS_RES_IRQ, 0, helper->cd_ires);
taskqueue_drain_timeout(taskqueue_swi_giant, &helper->cd_delayed_task);
}
bool