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
V4L/DVB (6215): Bugfix for saa6588.c, add forgotten spin_lock_init()
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
media
/
video
/
saa6588.c
diff --git
a/drivers/media/video/saa6588.c
b/drivers/media/video/saa6588.c
index 92eabf88a09b72e336ce55ea1b4f4901b432ce18..72e344a12c798e86a5ca06db54c4c7a8059e423b 100644
(file)
--- a/
drivers/media/video/saa6588.c
+++ b/
drivers/media/video/saa6588.c
@@
-406,6
+406,7
@@
static int saa6588_attach(struct i2c_adapter *adap, int addr, int kind)
kfree(s);
return -ENOMEM;
}
+ spin_lock_init(&s->lock);
s->client = client_template;
s->block_count = 0;
s->wr_index = 0;