diff options
| author | Kiran Kumar H N <hurlisal@codeaurora.org> | 2011-11-07 15:29:10 -0800 |
|---|---|---|
| committer | Kiran Kumar H N <hurlisal@codeaurora.org> | 2011-11-09 16:32:45 -0800 |
| commit | 9a05d96cd5b81de6cea7d0a76d46ac7a436bc2dd (patch) | |
| tree | 9238c94c1ded7a5427a82bb742c9d7b7a95dff37 /scripts/gcc-wrapper.py | |
| parent | ec2515fdcb3070e7ec80bf865b01e43c8015a43f (diff) | |
msm: camera: Fix couple of error cases.
- Currently we initialize the vb2 queue during
set_format and release it during msm_close.
This might cause problems if the application
is doing resolution changes in the same camera
instance, where there can be multiple formats
within the single instance. So release the vb2
queue when the application is unregistering
the buffers and toggle initialized flag so that
the vb2 queue is initialized again when the new
format is set.
- Also, display an error and return immediately
without queueing the buffer, if the application
erroneously queues a buffer after unregistering
all the buffers.
Change-Id: I1236d933991f5650b4982c8db715fd0fd81b53cd
Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
CRs-Fixed: 317429
Diffstat (limited to 'scripts/gcc-wrapper.py')
0 files changed, 0 insertions, 0 deletions
