Tag: c943e13bd2bf4c344c3fe43ef39f07b57eff715e

staging: speakup: Replace del_timer with del_timer_sync

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> Use del_timer_sync to ensure timer is stopped on all CPUs before the driver exists and the timer should not run when the module is being removed. Since the timer is not called from an interrupt context, this change is safe and will not cause deadlock. The Coccinelle semantic patch used …

Continue reading