genvif: XID_SOP
BRANCH=none
TEST=verify XML output
Tested-by: Denis Brockus
@@ -1888,9 +1888,13 @@ static void init_vif_component_pd_dual_role_fields(
static void init_vif_component_sop_discovery_fields(
struct vif_field_t *vif_fields)
{
- if (IS_ENABLED(CONFIG_USB_PD_TCPMV2)) {
char hex_str[10];
+ set_vif_field(&vif_fields[XID_SOP],
+ "XID_SOP",
+ "0",
+ "0");
+
#if defined(CONFIG_USB_PID)
sprintf(hex_str, "%04X", CONFIG_USB_PID);
set_vif_field_itss(&vif_fields[PID_SOP],
@@ -1903,7 +1907,6 @@ static void init_vif_component_sop_discovery_fields(
DEFAULT_MISSING_PID, hex_str);
#endif
}
-}
/*********************************************************************
* Init VIF/Component[] Battery Charging 1.2 Fields
