diff options
-rw-r--r-- | drivers/input/tablet/wacom_sys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/tablet/wacom_sys.c b/drivers/input/tablet/wacom_sys.c index 7e63183a6c68..b59058998417 100644 --- a/drivers/input/tablet/wacom_sys.c +++ b/drivers/input/tablet/wacom_sys.c | |||
@@ -184,9 +184,9 @@ static int wacom_parse_logical_collection(unsigned char *report, | |||
184 | * data before its overwritten. | 184 | * data before its overwritten. |
185 | */ | 185 | */ |
186 | features->x_phy = | 186 | features->x_phy = |
187 | (features->x_max * features->x_resolution) / 100; | 187 | (features->x_max * 100) / features->x_resolution; |
188 | features->y_phy = | 188 | features->y_phy = |
189 | (features->y_max * features->y_resolution) / 100; | 189 | (features->y_max * 100) / features->y_resolution; |
190 | 190 | ||
191 | features->x_max = features->y_max = | 191 | features->x_max = features->y_max = |
192 | get_unaligned_le16(&report[10]); | 192 | get_unaligned_le16(&report[10]); |