commit | 317f01f80552fcb282affb3156ad3d8acb8834b1 | [log] [tgz] |
---|---|---|
author | Arun Menon <avmenon@codeaurora.org> | Wed Feb 12 14:24:06 2014 -0800 |
committer | Arun Menon <avmenon@codeaurora.org> | Thu Feb 13 13:05:06 2014 -0800 |
tree | a614b53f1c3263e8822064b67c31d34f2abe6b05 | |
parent | 78f1e20f02159a60bb0b19df797902ff5f790198 [diff] |
msm: vidc: initialize venus hfi locks during hfi creation Venus hfi locks were initialized during core init, which is invoked when the first video instance is created. If a debugfs command is executed before starting the first video instance, then video driver crashes trying to lock an uninitialized mutex. Change-Id: I472e9de91dada94a2728dd02c747e7fde63e3e4f Signed-off-by: Arun Menon <avmenon@codeaurora.org>