diff options
author | Andrew Duggan <aduggan@synaptics.com> | 2014-12-08 15:02:00 -0800 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-12-12 11:14:55 +0100 |
commit | cabd9b5f1fc3fc2261bce2e0399767b59c84bb7b (patch) | |
tree | 9ea1f07d7f20f6be1d22d7a3f930b5bc2ba59c2e /drivers/hid/i2c-hid/i2c-hid.c | |
parent | 8414947a2018a98cf3adc975dc279f41ba30ab11 (diff) | |
download | op-kernel-dev-cabd9b5f1fc3fc2261bce2e0399767b59c84bb7b.zip op-kernel-dev-cabd9b5f1fc3fc2261bce2e0399767b59c84bb7b.tar.gz |
HID: rmi: The address of query8 must be calculated based on which query registers are present
If a touchpad does not report relative data then query 6 will not be present and the address
of query 8 will be one less. This patches calculates the location of query 8 instead of
hardcoding the offset.
Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/i2c-hid/i2c-hid.c')
0 files changed, 0 insertions, 0 deletions