Skip to contentSkip to conversation

V4L (939) Support for nebula rc5 based gpio remote

PATCH Andrew Morton 1 participant 1 message Nov 10, 2005 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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.