HID: cp2112: fix incorrect error propagation in cp2112_xfer()
[deliverable/linux.git] / drivers / hid / hid-cp2112.c
index 6d679f1840a750f93bf69446b285fc68f350e6df..1025982c7fd3c53953f725bbc4a5e15eae17e32f 100644 (file)
@@ -428,7 +428,7 @@ static int cp2112_xfer(struct i2c_adapter *adap, u16 addr,
        struct hid_device *hdev = dev->hdev;
        u8 buf[64];
        __be16 word;
-       size_t count;
+       ssize_t count;
        size_t read_length = 0;
        unsigned int retries;
        int ret;
This page took 0.077768 seconds and 5 git commands to generate.