msm: camera: sync: Add support to invoke synx recover
If ICP FW is to be redowloaded, issue a synx recover for this ICP core so that IPC/synx for the previous session can be cleaned up prior to the next ICP cold boot. CRs-Fixed: 3448052 Change-Id: I9f8f772730f7e4a8873b6dbdcf7a896ad6193150 Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
This commit is contained in:

committed by
Camera Software Integration

parent
42c90f68b7
commit
267f259a72
@@ -10,6 +10,7 @@
|
||||
#include <linux/bitmap.h>
|
||||
#include <synx_api.h>
|
||||
|
||||
#include "cam_sync_api.h"
|
||||
#include "cam_sync.h"
|
||||
#include "cam_debug_util.h"
|
||||
|
||||
@@ -138,6 +139,17 @@ int cam_synx_obj_signal_obj(struct cam_synx_obj_signal *signal_synx_obj);
|
||||
int cam_synx_obj_register_cb(int32_t *sync_obj, int32_t row_idx,
|
||||
cam_sync_callback_for_synx_obj sync_cb);
|
||||
|
||||
/**
|
||||
* @brief: Synx recovery for a given core
|
||||
*
|
||||
* @param core_id: Core ID we want to recover for
|
||||
*
|
||||
* @return Status of operation. Zero in case of success
|
||||
* -EINVAL if core_id is invalid
|
||||
*/
|
||||
int cam_synx_core_recovery(
|
||||
enum cam_sync_synx_supported_cores core_id);
|
||||
|
||||
/**
|
||||
* @brief: cam synx driver open
|
||||
*
|
||||
|
Reference in New Issue
Block a user