diff options
author | Linus Torvalds | 2011-09-16 23:09:19 +0200 |
---|---|---|
committer | Linus Torvalds | 2011-09-16 23:09:19 +0200 |
commit | 279b1e0fd90ef63c7acb34a5ca573f065a6fefb4 (patch) | |
tree | 25dfe9e76c375c2357096fc4ec334c5b00790ce0 /drivers/input/misc | |
parent | Merge branch 'stable/bug.fixes' of git://oss.oracle.com/git/kwilk/xen (diff) | |
parent | Input: wacom - fix touch parsing on newer Bamboos (diff) | |
download | kernel-qcow2-linux-279b1e0fd90ef63c7acb34a5ca573f065a6fefb4.tar.gz kernel-qcow2-linux-279b1e0fd90ef63c7acb34a5ca573f065a6fefb4.tar.xz kernel-qcow2-linux-279b1e0fd90ef63c7acb34a5ca573f065a6fefb4.zip |
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); } |