/* Directs the Protocol Layer to perform a hard reset. This function is called from the Policy Engine.  */
void prl_execute_hard_reset(const struct device *dev)
/* Directs the Protocol Layer to perform a hard reset. This function is called from the Policy Engine.  */
void prl_execute_hard_reset(const struct device *dev)
{
	struct usbc_port_data *data = dev->data;
	struct protocol_hard_reset_t *prl_hr = data->prl_hr;
	if (prl_is_running(dev) == false) {
		return;
	}
	atomic_set_bit(&prl_hr->flags, PRL_FLAGS_PE_HARD_RESET);
	prl_hr_set_state(dev, PRL_HR_RESET_LAYER);
}