QCamera2: HAL3: Fix mismatch vendor tag types

Test: Run metadata error message is gone when camera is open.
Bug: 37860402
Change-Id: I0cc346a4818c98ef200b506d5c01270ef679a16c
diff --git a/msm8998/QCamera2/HAL3/QCamera3HWI.cpp b/msm8998/QCamera2/HAL3/QCamera3HWI.cpp
index f1b1908..965f730 100644
--- a/msm8998/QCamera2/HAL3/QCamera3HWI.cpp
+++ b/msm8998/QCamera2/HAL3/QCamera3HWI.cpp
@@ -11187,13 +11187,14 @@
     }
 
     //Update Link tags to default
-    int32_t sync_type = CAM_TYPE_STANDALONE;
+    uint8_t sync_type = CAM_TYPE_STANDALONE;
     settings.update(QCAMERA3_DUALCAM_LINK_ENABLE, &sync_type, 1);
 
-    int32_t is_main = 0; //this doesn't matter as app should overwrite
+    uint8_t is_main = 0; //this doesn't matter as app should overwrite
     settings.update(QCAMERA3_DUALCAM_LINK_IS_MAIN, &is_main, 1);
 
-    settings.update(QCAMERA3_DUALCAM_LINK_RELATED_CAMERA_ID, &is_main, 1);
+    uint8_t related_camera_id = mCameraId;
+    settings.update(QCAMERA3_DUALCAM_LINK_RELATED_CAMERA_ID, &related_camera_id, 1);
 
     /* CDS default */
     char prop[PROPERTY_VALUE_MAX];