Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e09d9c3e authored by devendra.aaru's avatar devendra.aaru Committed by Wim Van Sebroeck
Browse files

watchdog: cpu5wdt.c: add missing del_timer call



We do a setup_timer at init stage of the module, but we didn't
de-activate the time using del_timer.

Signed-off-by: default avatardevendra.aaru <devendra.aaru@gmail.com>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent e16cfb9d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -266,6 +266,7 @@ static void cpu5wdt_exit(void)
	if (cpu5wdt_device.queue) {
		cpu5wdt_device.queue = 0;
		wait_for_completion(&cpu5wdt_device.stop);
		del_timer(&cpu5wdt_device.timer);
	}

	misc_deregister(&cpu5wdt_misc);