diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-09-20 13:51:04 +1000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-09-20 15:52:38 +1000 |
commit | 1cce058b29e7eb8a71a72d8bb87eb7b4e0401c22 (patch) | |
tree | 493477b7a19606c66de2f003bca83672f2164cad /drivers/input/misc/cm109.c | |
parent | c26afe9e8591f306d79aab8071f1d34e4f60b700 (diff) | |
parent | 9d037a777695993ec7437e5f451647dea7919d4c (diff) | |
download | talos-op-linux-1cce058b29e7eb8a71a72d8bb87eb7b4e0401c22.tar.gz talos-op-linux-1cce058b29e7eb8a71a72d8bb87eb7b4e0401c22.zip |
Merge remote-tracking branch 'origin/master' into next
(Merge in order to get the PCIe mps/mrss code fixes)
Diffstat (limited to 'drivers/input/misc/cm109.c')
-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); } |