diff --git a/[refs] b/[refs] index afcd2c45abd1..7cc3aab38af7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 08791e5cf62b6952ca32106aebb79b6066005de4 +refs/heads/master: 8fdc19486f4d3b0fc5f1c7ce69fe5f7b1c653e62 diff --git a/trunk/drivers/input/input.c b/trunk/drivers/input/input.c index 591c70d80cd8..3038c268917d 100644 --- a/trunk/drivers/input/input.c +++ b/trunk/drivers/input/input.c @@ -155,6 +155,9 @@ void input_event(struct input_dev *dev, unsigned int type, unsigned int code, in if (code > SND_MAX || !test_bit(code, dev->sndbit)) return; + if (!!test_bit(code, dev->snd) != !!value) + change_bit(code, dev->snd); + if (dev->event) dev->event(dev, type, code, value); break;