Commit 6f0d7211 authored by Jianxiong Gu's avatar Jianxiong Gu Committed by Benjamin Cabé
Browse files

usbc: Update tcpc_sop_prime_enable() description

Clearly mention that this function enables both SOP' and SOP'' messages.

Signed-off-by: default avatarJianxiong Gu <jianxiong.gu@outlook.com>
parent 416bf220
Loading
Loading
Loading
Loading
+3 −2
Changes for include/zephyr/drivers/usb_c/usbc_tcpc.h: 3 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -839,10 +839,11 @@ static inline int tcpc_set_low_power_mode(const struct device *dev, bool enable)
}

/**
 * @brief Enables the reception of SOP Prime messages
 * @brief Enables the reception of SOP Prime and optionally SOP Double Prime messages
 *
 * @param dev     Runtime device structure
 * @param enable  Can receive SOP Prime messages when true, else it can not
 * @param enable  Can receive SOP Prime messages and SOP Double Prime messages when true,
 *		  else it can not
 *
 * @retval 0 on success
 * @retval -EIO on failure