V4L/DVB (3193): Replace del_timer with del_timer_sync
- 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>
This commit is contained in:
parent
889aee805a
commit
bc61b0102a
|
@ -668,7 +668,7 @@ void bttv_input_fini(struct bttv *btv)
|
||||||
if (btv->remote->rc5_gpio) {
|
if (btv->remote->rc5_gpio) {
|
||||||
u32 gpio;
|
u32 gpio;
|
||||||
|
|
||||||
del_timer(&btv->remote->timer_end);
|
del_timer_sync(&btv->remote->timer_end);
|
||||||
flush_scheduled_work();
|
flush_scheduled_work();
|
||||||
|
|
||||||
gpio = bttv_gpio_read(&btv->c);
|
gpio = bttv_gpio_read(&btv->c);
|
||||||
|
|
Loading…
Reference in New Issue