Commit 90421068 authored by Neil Brown's avatar Neil Brown Committed by Vojtech Pavlik

input: Change order of search for beeper devices in keyboard.c,

       so that it is easier to replace a beeper with a different
       driver
parent e91c473f
......@@ -242,7 +242,7 @@ void kd_mksound(unsigned int hz, unsigned int ticks)
del_timer(&kd_mksound_timer);
if (hz) {
list_for_each(node,&kbd_handler.h_list) {
list_for_each_prev(node,&kbd_handler.h_list) {
struct input_handle *handle = to_handle_h(node);
if (test_bit(EV_SND, handle->dev->evbit)) {
if (test_bit(SND_TONE, handle->dev->sndbit)) {
......
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