V4L (939) Support for nebula rc5 based gpio remote
Review static int ir_remove(struct device *dev) · line 732
Quoted 10 lines · [email protected] wrote:
(quoted diff) +5
-0@@ -454,6 +725,15 @@ static int ir_remove(struct device *dev) del_timer(&ir->timer); flush_scheduled_work(); } + if (ir->rc5_gpio) { + u32 gpio; + + del_timer(&ir->timer_end); + flush_scheduled_work();
You might need del_timer_sync() here.