diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-01-05 17:56:01 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-01-06 00:27:29 -0800 |
commit | 92a3a58788790645c6143b5353ef065fd26110bb (patch) | |
tree | e84cffdd0198641ce02ae65c2449070b21710847 /drivers/input/mouse | |
parent | 4f93df40859cf471774f6ef3ec7f2870c2e8e260 (diff) |
Input: cleanse capabilities bits before registering device
To avoid showing garbage in capability bits, zero out bitmasks absent
from dev->evbit in case driver inadvertently leaves some garbage there.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/mouse')
0 files changed, 0 insertions, 0 deletions