projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c0223b
)
[media] V4L: mt9m111: fix uninitialised mutex
author
Guennadi Liakhovetski
<g.liakhovetski@gmx.de>
Thu, 3 Nov 2011 11:12:00 +0000
(08:12 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sun, 11 Dec 2011 11:44:03 +0000
(09:44 -0200)
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mt9m111.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/mt9m111.c
b/drivers/media/video/mt9m111.c
index f023cc092c2b8ea6d435daaf77e802ae74ef0ad3..dda4685166d5777730eb206684330d7f089853d6 100644
(file)
--- a/
drivers/media/video/mt9m111.c
+++ b/
drivers/media/video/mt9m111.c
@@
-954,6
+954,7
@@
static int mt9m111_probe(struct i2c_client *client,
mt9m111->rect.height = MT9M111_MAX_HEIGHT;
mt9m111->fmt = &mt9m111_colour_fmts[0];
mt9m111->lastpage = -1;
+ mutex_init(&mt9m111->power_lock);
ret = mt9m111_video_probe(client);
if (ret) {