commit | b45be48720d977300cadc3b7f88b2397f1a17b04 | [log] [tgz] |
---|---|---|
author | Deva Ramasubramanian <dramasub@codeaurora.org> | Tue Feb 04 17:55:41 2014 -0800 |
committer | Arun Menon <avmenon@codeaurora.org> | Fri Feb 07 11:40:10 2014 -0800 |
tree | fa5806d93da339071ff657cf3bd11ccff807a37c | |
parent | 144558c9da57988f5b815cae9bcb4df96b9d3f02 [diff] |
msm: vidc: Check if buffers are mapped before validating buffer_info When buffers are not mapped by the driver (i.e. buffer being used by kernel client), inst->registered_buffers is usually empty. As a result, in *_dqbuf(), binfo is always NULL. This commit bypasses the NULL check if buffers aren't being mapped by the driver. CRs-Fixed: 610866 Change-Id: I111150564549a74f077ba8a7115129f497d734fc Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>