diff options
author | Jiri Kosina <jkosina@suse.cz> | 2007-03-10 21:45:45 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2007-03-12 13:55:26 (GMT) |
commit | d108d4fe34730135647fe32a4f8091491d3542ea (patch) | |
tree | 1965c3abc44bdff17d75aee85f603f555e1731c9 /drivers/base | |
parent | 47a80edb1d80ae644ea374a016c8e68d43d2671f (diff) | |
download | linux-fsl-qoriq-d108d4fe34730135647fe32a4f8091491d3542ea.tar.xz |
HID: zeroing of bytes in output fields is bogus
This patch removes bogus zeroing of unused bits in output reports,
introduced in Simon's patch in commit d4ae650a.
According to the specification, any sane device should not care
about values of unused bits.
What is worse, the zeroing is done in a way which is broken and
might clear certain bits in output reports which are actually
_used_ - a device that has multiple fields with one value of
the size 1 bit each might serve as an example of why this is
bogus - the second call of hid_output_report() would clear the
first bit of report, which has already been set up previously.
This patch will break LEDs on SpaceNavigator, because this device
is broken and takes into account the bits which it shouldn't touch.
The quirk for this particular device will be provided in a separate
patch.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions