aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/interface.c
diff options
context:
space:
mode:
authorMathias Gottschlag <[email protected]>2015-03-07 21:27:08 +0000
committerDmitry Torokhov <[email protected]>2015-03-07 21:40:20 +0000
commit679d83ea9390636ded518f533af0cefbade317c7 (patch)
tree2d0a85cfb4a397773f63f4b24d5052984c9c7b84 /drivers/net/xen-netback/interface.c
parentInput: psmouse - remove hardcoded touchpad size from the focaltech driver (diff)
downloadkernel-679d83ea9390636ded518f533af0cefbade317c7.tar.gz
kernel-679d83ea9390636ded518f533af0cefbade317c7.zip
Input: psmouse - ensure that focaltech reports consistent coordinates
We don't know whether x_max or y_max really hold the maximum possible coordinates, and we don't know for sure whether we correctly interpret the coordinates sent by the touchpad, so we clamp the reported values to prevent confusion in userspace code. Signed-off-by: Mathias Gottschlag <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions