Update mode argument type from int to u32 to avoid any potential data loss since input is also u32 type. Change-Id: I9541a7da20d2a22a0066622736268adffde5adbf Signed-off-by: Matthew Rice <quic_mrice@quicinc.com>