- Replace del_timer with del_timer_sync Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
@@ -668,7 +668,7 @@ void bttv_input_fini(struct bttv *btv)
if (btv->remote->rc5_gpio) {
u32 gpio;
- del_timer(&btv->remote->timer_end);
+ del_timer_sync(&btv->remote->timer_end);
flush_scheduled_work();
gpio = bttv_gpio_read(&btv->c);