diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-09-26 14:12:45 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-09-26 14:12:45 -0400 |
commit | 0d41da2e31e81f5c8aaabe17f769de4304b2d4c8 (patch) | |
tree | 540acefba9bf01d3880d7bacb767fbf9b1fe80b4 /drivers/input/tablet/wacom_sys.c | |
parent | a0089bd617adea27ebc352e1e0871649ab1dbaa6 (diff) | |
parent | e8b364b88cc4001b21c28c1ecf1e1e3ffbe162e6 (diff) |
Merge branch 'pm-fixes' into pm-domains
Merge commit e8b364b88cc4001b21c28c1ecf1e1e3ffbe162e6
(PM / Clocks: Do not acquire a mutex under a spinlock) fixing
a regression in drivers/base/power/clock_ops.c.
Conflicts:
drivers/base/power/clock_ops.c
Diffstat (limited to 'drivers/input/tablet/wacom_sys.c')
-rw-r--r-- | drivers/input/tablet/wacom_sys.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/input/tablet/wacom_sys.c b/drivers/input/tablet/wacom_sys.c index d27c9d91630b..958b4eb6369d 100644 --- a/drivers/input/tablet/wacom_sys.c +++ b/drivers/input/tablet/wacom_sys.c | |||
@@ -229,13 +229,6 @@ static int wacom_parse_hid(struct usb_interface *intf, struct hid_descriptor *hi | |||
229 | get_unaligned_le16(&report[i + 3]); | 229 | get_unaligned_le16(&report[i + 3]); |
230 | i += 4; | 230 | i += 4; |
231 | } | 231 | } |
232 | } else if (usage == WCM_DIGITIZER) { | ||
233 | /* max pressure isn't reported | ||
234 | features->pressure_max = (unsigned short) | ||
235 | (report[i+4] << 8 | report[i + 3]); | ||
236 | */ | ||
237 | features->pressure_max = 255; | ||
238 | i += 4; | ||
239 | } | 232 | } |
240 | break; | 233 | break; |
241 | 234 | ||
@@ -291,13 +284,6 @@ static int wacom_parse_hid(struct usb_interface *intf, struct hid_descriptor *hi | |||
291 | pen = 1; | 284 | pen = 1; |
292 | i++; | 285 | i++; |
293 | break; | 286 | break; |
294 | |||
295 | case HID_USAGE_UNDEFINED: | ||
296 | if (usage == WCM_DESKTOP && finger) /* capacity */ | ||
297 | features->pressure_max = | ||
298 | get_unaligned_le16(&report[i + 3]); | ||
299 | i += 4; | ||
300 | break; | ||
301 | } | 287 | } |
302 | break; | 288 | break; |
303 | 289 | ||