commit | f8e8f7a4d7270a73f538c99ab4a8c52c409ac34e | [log] [tgz] |
---|---|---|
author | Arun Menon <menon@codeaurora.org> | Wed Jan 30 17:59:55 2013 -0800 |
committer | Jay Chokshi <jchokshi@codeaurora.org> | Thu Feb 14 10:49:49 2013 -0800 |
tree | 625aa038ce73902a0695391f9601cdb33cfe3448 | |
parent | 9962e274b9d66991ae1fd723131bd73e092ae7e5 [diff] |
msm: vidc: Add check for hfi callback pointers Ensure that hfi callback functions get called only if they have been defined. Without this change the device could crash if an uninitialized callback function pointer gets called. Change-Id: I23b6b6493f0aa8533be7f8a8bb8d9fb8ec431d18 Signed-off-by: Arun Menon <menon@codeaurora.org> [smuckle@codeaurora.org: backported from msm-3.7] Signed-off-by: Steve Muckle <smuckle@codeaurora.org>