mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Reference in a new issue