|
@@ -216,8 +216,7 @@ void fb_deferred_io_cleanup(struct fb_info *info)
|
|
|
int i;
|
|
int i;
|
|
|
|
|
|
|
|
BUG_ON(!fbdefio);
|
|
BUG_ON(!fbdefio);
|
|
|
- cancel_delayed_work(&info->deferred_work);
|
|
|
|
|
- flush_scheduled_work();
|
|
|
|
|
|
|
+ cancel_delayed_work_sync(&info->deferred_work);
|
|
|
|
|
|
|
|
/* clear out the mapping that we setup */
|
|
/* clear out the mapping that we setup */
|
|
|
for (i = 0 ; i < info->fix.smem_len; i += PAGE_SIZE) {
|
|
for (i = 0 ; i < info->fix.smem_len; i += PAGE_SIZE) {
|