diff options
Diffstat (limited to 'drivers/hid/hid-picolcd_fb.c')
-rw-r--r-- | drivers/hid/hid-picolcd_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-picolcd_fb.c b/drivers/hid/hid-picolcd_fb.c index 0008a512211..eb003574b63 100644 --- a/drivers/hid/hid-picolcd_fb.c +++ b/drivers/hid/hid-picolcd_fb.c | |||
@@ -608,7 +608,7 @@ void picolcd_exit_framebuffer(struct picolcd_data *data) | |||
608 | /* make sure there is no running update - thus that fbdata->picolcd | 608 | /* make sure there is no running update - thus that fbdata->picolcd |
609 | * once obtained under lock is guaranteed not to get free() under | 609 | * once obtained under lock is guaranteed not to get free() under |
610 | * the feet of the deferred work */ | 610 | * the feet of the deferred work */ |
611 | flush_delayed_work_sync(&info->deferred_work); | 611 | flush_delayed_work(&info->deferred_work); |
612 | 612 | ||
613 | data->fb_info = NULL; | 613 | data->fb_info = NULL; |
614 | unregister_framebuffer(info); | 614 | unregister_framebuffer(info); |