commit | 92a3a58788790645c6143b5353ef065fd26110bb | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Jan 05 17:56:01 2010 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed Jan 06 00:27:29 2010 -0800 |
tree | e84cffdd0198641ce02ae65c2449070b21710847 | |
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>