diff options
Diffstat (limited to 'drivers/hid/i2c-hid')
-rw-r--r-- | drivers/hid/i2c-hid/i2c-hid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/i2c-hid/i2c-hid.c b/drivers/hid/i2c-hid/i2c-hid.c index 11140bdae660..67ab5b7b64d8 100644 --- a/drivers/hid/i2c-hid/i2c-hid.c +++ b/drivers/hid/i2c-hid/i2c-hid.c | |||
@@ -892,6 +892,7 @@ err: | |||
892 | if (ihid->irq) | 892 | if (ihid->irq) |
893 | free_irq(ihid->irq, ihid); | 893 | free_irq(ihid->irq, ihid); |
894 | 894 | ||
895 | i2c_hid_free_buffers(ihid); | ||
895 | kfree(ihid); | 896 | kfree(ihid); |
896 | return ret; | 897 | return ret; |
897 | } | 898 | } |