/* Called by the Protocol Layer to informs the Policy Engine that a message has been received.  */
void pe_message_received(const struct device *dev)
/* Called by the Protocol Layer to informs the Policy Engine that a message has been received.  */
void pe_message_received(const struct device *dev)
{
	struct usbc_port_data *data = dev->data;
	struct policy_engine *pe = data->pe;
	atomic_set_bit(pe->flags, PE_FLAGS_MSG_RECEIVED);
	usbc_bypass_next_sleep(dev);
}