diff options
Diffstat (limited to 'drivers/greybus/interface.c')
-rw-r--r-- | drivers/greybus/interface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/greybus/interface.c b/drivers/greybus/interface.c index fd58a86b0888..d022bfb5e95d 100644 --- a/drivers/greybus/interface.c +++ b/drivers/greybus/interface.c @@ -693,6 +693,7 @@ static void gb_interface_release(struct device *dev) trace_gb_interface_release(intf); + cancel_work_sync(&intf->mode_switch_work); kfree(intf); } |