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

A message that is not in the archive (sent off-list or not yet received): 1131656168.6478.49.camel@localhost

#1 lore raw

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.