firmware-api:changed macro definition

Change is done to resolve
AUTOSAR C++14 M5-0-10 violations

Rule: AUTOSAR C++14 M5-0-10
Rule description : If the bitwise operators ~ and << are
applied to an operand with an underlying type of unsigned
char or unsigned short, the result shall be immediately cast
to the underlying type of the operand.

JIRA CAMERASW-12899

Change-Id: Ide1491e00094299d3785dbb1cd3366a043b3de0e
Signed-off-by: Mika Liljeberg <mliljeberg@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/tegra/camera/firmware-api/+/2933961
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2988965
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2988977
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Matti Ryttylainen <mryttylainen@nvidia.com>
Reviewed-by: Viktor Horsmanheimo <viktorh@nvidia.com>
This commit is contained in:
pripatel
2023-07-10 19:45:54 +00:00
committed by mobile promotions
parent 4e8871bdef
commit f7c66766b7

View File

@@ -325,20 +325,20 @@ typedef struct syncpoint_info {
/**@}*/
#define VI_NUM_GOS_TABLES MK_U32(12)
#define VI_NUM_ATOMP_SURFACES 4
#define VI_NUM_STATUS_SURFACES 1
#define VI_NUM_VI_PFSD_SURFACES 2
#define VI_NUM_ATOMP_SURFACES 4U
#define VI_NUM_STATUS_SURFACES 1U
#define VI_NUM_VI_PFSD_SURFACES 2U
/**
* @defgroup ViAtompSurface VI ATOMP surface related defines
* @{
*/
/** Output surface plane 0 */
#define VI_ATOMP_SURFACE0 0
#define VI_ATOMP_SURFACE0 0U
/** Output surface plane 1 */
#define VI_ATOMP_SURFACE1 1
#define VI_ATOMP_SURFACE1 1U
/** Output surface plane 2 */
#define VI_ATOMP_SURFACE2 2
#define VI_ATOMP_SURFACE2 2U
/** Sensor embedded data */
#define VI_ATOMP_SURFACE_EMBEDDED 3