commit | 85a28502e0308cdd8994c654f3166b6edd314322 | [log] [tgz] |
---|---|---|
author | Shuzhen Wang <shuzhenw@codeaurora.org> | Tue Dec 18 10:49:54 2012 -0800 |
committer | Shuzhen Wang <shuzhenw@codeaurora.org> | Wed Dec 26 15:45:00 2012 -0800 |
tree | d02d72e98a41359480d23480fa9319eef4d12255 | |
parent | afd8d1c24206dd9ced9cbf7333b76136b1ebeeaa [diff] |
camera: Flush event queue for config node before unsubscribe. A msm_isp_event_ctrl structure may be attached to a v4l2_event entry. Before unsubscribing from the event queue, we need to go through the queue and flush all the entries. If we leave it to v4l2_event_unsubscribe, msm_isp_event_ctrl will be leaked. CRs-Fixed: 433808 Change-Id: I4e7187093c6aa11c64d83a00c310f773a6067f14 Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>