diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-16 14:09:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-16 14:09:19 -0700 |
commit | 279b1e0fd90ef63c7acb34a5ca573f065a6fefb4 (patch) | |
tree | 25dfe9e76c375c2357096fc4ec334c5b00790ce0 /drivers/input/misc | |
parent | abbe0d3c26c545930492981cbd64be340ff41e05 (diff) | |
parent | 8f9068609e8a5b4cbac9e0cf8332b5dcabf05422 (diff) | |
download | linux-279b1e0fd90ef63c7acb34a5ca573f065a6fefb4.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/cm109.c b/drivers/input/misc/cm109.c index b09c7d127219..ab860511f016 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); } |