msm: camera: jpeg: Fix global arrays concurrency issue
Base set of registers: address change,
irq clear etc. are hold in global arrays,
and some fields are overwritten during their use.
Since we have 4 devices using jpeg driver there
is possible concurrence issue.
This change uses local temporary variable for changed
values and leave arrays constant.
Change-Id: I8edc65e6fd4d9209b1c3127478be719bffaf3111
Signed-off-by:
Gjorgji Rosikopulos <grosik@codeaurora.org>
Loading
Please register or sign in to comment