hardware: samsung_slsi: libcamera2: AE lock bug fix

This patch fix the bug that AE mode is locked after capture.
And fix exposure compensation bug that wrong enumeration.

Bug: 7251985
Change-Id: Idfea6abb194c2bc692a38d0303bef9c9d73c4cea
Signed-off-by: Hyeonmyeong Choi <hyeon.choi@samsung.com>
diff --git a/libcamera2/MetadataConverter.cpp b/libcamera2/MetadataConverter.cpp
index def1c2f..29dc167 100644
--- a/libcamera2/MetadataConverter.cpp
+++ b/libcamera2/MetadataConverter.cpp
@@ -560,7 +560,7 @@
                 &byteData, 1))
         return NO_MEMORY;
 
-    intData = metadata->ctl.aa.aeExpCompensation;
+    intData = metadata->ctl.aa.aeExpCompensation - 5;
     if (0 != add_camera_metadata_entry(dst, ANDROID_CONTROL_AE_EXP_COMPENSATION,
                 &intData, 1))
         return NO_MEMORY;