summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-09-16 14:09:19 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-09-16 14:09:19 -0700
commit279b1e0fd90ef63c7acb34a5ca573f065a6fefb4 (patch)
tree25dfe9e76c375c2357096fc4ec334c5b00790ce0 /drivers/input/misc
parentabbe0d3c26c545930492981cbd64be340ff41e05 (diff)
parent8f9068609e8a5b4cbac9e0cf8332b5dcabf05422 (diff)
downloadop-kernel-dev-279b1e0fd90ef63c7acb34a5ca573f065a6fefb4.zip
op-kernel-dev-279b1e0fd90ef63c7acb34a5ca573f065a6fefb4.tar.gz
Merge branch 'for-linus' of git://github.com/dtor/input
* 'for-linus' of git://github.com/dtor/input: Input: wacom - fix touch parsing on newer Bamboos Input: bcm5974 - add MacBookAir4,1 trackpad support Input: wacom - add POINTER and DIRECT device properties Input: adp5588-keys - remove incorrect modalias Input: cm109 - fix checking return value of usb_control_msg Input: wacom - advertise BTN_TOOL_PEN and BTN_STYLUS for PenPartner Input: wacom - remove pressure for touch devices
Diffstat (limited to 'drivers/input/misc')
-rw-r--r--drivers/input/misc/cm109.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/cm109.c b/drivers/input/misc/cm109.c
index b09c7d1..ab86051 100644
--- a/drivers/input/misc/cm109.c
+++ b/drivers/input/misc/cm109.c
@@ -475,7 +475,7 @@ static void cm109_toggle_buzzer_sync(struct cm109_dev *dev, int on)
le16_to_cpu(dev->ctl_req->wIndex),
dev->ctl_data,
USB_PKT_LEN, USB_CTRL_SET_TIMEOUT);
- if (error && error != EINTR)
+ if (error < 0 && error != -EINTR)
err("%s: usb_control_msg() failed %d", __func__, error);
}
OpenPOWER on IntegriCloud