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:
parent
4fda71e8d9
commit
0f2f8632dc
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user