projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'akpm' (patches from Andrew)
[linux-2.6-microblaze.git]
/
sound
/
soc
/
codecs
/
cros_ec_codec.c
diff --git
a/sound/soc/codecs/cros_ec_codec.c
b/sound/soc/codecs/cros_ec_codec.c
index
c4772f8
..
a201d65
100644
(file)
--- a/
sound/soc/codecs/cros_ec_codec.c
+++ b/
sound/soc/codecs/cros_ec_codec.c
@@
-94,7
+94,7
@@
static int send_ec_host_command(struct cros_ec_device *ec_dev, uint32_t cmd,
if (ret < 0)
goto error;
- if (insize)
+ if (in
&& in
size)
memcpy(in, msg->data, insize);
ret = 0;