Gaurav Jindal a29622aedc msm: camera: jpeg: Add mutex lock to protect jpeg list corruption
Due to race conditions, situation can arise where the process_irq
and flush for jpeg are being handled in parallel. This will cause
the jpeg list corruption.
This commit protects the code of adding back to free list
in process_irq with the mutex.

CRs-Fixed: 2578247
Change-Id: I28ee48bc0d5cfcf3ae4a936b2eb2976226ad88d5
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>
2020-01-30 04:55:55 -08:00
Popis
Nebyl uveden žádný popis
226 MiB
Jazyky
C 98.7%
C++ 0.9%
Makefile 0.3%
Starlark 0.1%