QCamera3: avoid race condition in getEaselFwVersion

Moved firmware version extraction to onOpened after easel is
booted and the firmware version is guaranteed to be correct.
This way a possible race condition for the mutex lock over
gHdrPlusClientLock from consecutive frame captures is averted.

Bug: 65458066

Change-Id: Ie7124ad008e1513cba5f60942df087e6d81396f3
Signed-off-by: Arnd Geis <arndg@google.com>
2 files changed
tree: 9ac0a5a306785e60fbce5f6485e94f0a858ec100
  1. msm8998/
  2. Android.mk
  3. CleanSpec.mk