Commit 394e3ec6 authored by Matthieu Castet's avatar Matthieu Castet Committed by Vojtech Pavlik

input: this patch turns off the pc speaker when pcspkr.ko is unloaded,

       else it would never stop
Signed-off-by: default avatarMatthieu Castet <castet.matthieu@free.fr>
Signed-off-by: default avatarVojtech Pavlik <vojtech@suse.cz>
parent e19b918d
......@@ -89,6 +89,8 @@ static int __init pcspkr_init(void)
static void __exit pcspkr_exit(void)
{
input_unregister_device(&pcspkr_dev);
/* turn off the speaker */
pcspkr_event(NULL, EV_SND, SND_BELL, 0);
}
module_init(pcspkr_init);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment