projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'virtio-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
input
/
misc
/
ims-pcu.c
diff --git
a/drivers/input/misc/ims-pcu.c
b/drivers/input/misc/ims-pcu.c
index 5a736397d9c8ee3f540ce9cc7b7f77710ff6b787..719410feb84bf9521e94fad32d299e890c1b210b 100644
(file)
--- a/
drivers/input/misc/ims-pcu.c
+++ b/
drivers/input/misc/ims-pcu.c
@@
-1566,6
+1566,7
@@
static int ims_pcu_buffers_alloc(struct ims_pcu *pcu)
if (!pcu->urb_ctrl_buf) {
dev_err(pcu->dev,
"Failed to allocate memory for read buffer\n");
+ error = -ENOMEM;
goto err_free_urb_out_buf;
}