From b5bfd3b12c2ff02e02900b83b97db90d6fadb361 Mon Sep 17 00:00:00 2001 From: Johann Fischer Date: Mon, 9 Jan 2023 16:48:43 +0100 Subject: [PATCH] drivers: udc: fixup parameter endpoint description The description was still from the early stages of development. Signed-off-by: Johann Fischer --- drivers/usb/udc/udc_common.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/usb/udc/udc_common.h b/drivers/usb/udc/udc_common.h index 5f0a20a8cd1..dd5ef3eaff6 100644 --- a/drivers/usb/udc/udc_common.h +++ b/drivers/usb/udc/udc_common.h @@ -51,7 +51,7 @@ void udc_set_suspended(const struct device *dev, const bool value); * @brief Get pointer to endpoint configuration structure. * * @param[in] dev Pointer to device struct of the driver instance - * @param[in] ep Endpoint representation structure + * @param[in] ep Endpoint address * * @return pointer to endpoint configuration or NULL on error. */ @@ -86,7 +86,7 @@ void udc_ep_set_busy(const struct device *dev, const uint8_t ep, * be passed to the higher level. * * @param[in] dev Pointer to device struct of the driver instance - * @param[in] ep Endpoint representation structure + * @param[in] ep Endpoint address * * @return pointer to UDC request or NULL on error. */ @@ -101,7 +101,7 @@ struct net_buf *udc_buf_get(const struct device *dev, * is typically used to dequeue endpoint FIFO. * * @param[in] dev Pointer to device struct of the driver instance - * @param[in] ep Endpoint representation structure + * @param[in] ep Endpoint address * * @return pointer to UDC request or NULL on error. */ @@ -115,7 +115,7 @@ struct net_buf *udc_buf_get_all(const struct device *dev, * Use it when request buffer is required for a transfer. * * @param[in] dev Pointer to device struct of the driver instance - * @param[in] ep Endpoint representation structure + * @param[in] ep Endpoint address * * @return pointer to request or NULL on error. */ @@ -177,7 +177,7 @@ int udc_ep_enable_internal(const struct device *dev, * This function can be used by the driver to disable control IN/OUT endpoint. * * @param[in] dev Pointer to device struct of the driver instance - * @param[in] ep Endpoint representation structure + * @param[in] ep Endpoint address * * @return 0 on success, all other values should be treated as error. * @retval -ENODEV endpoint is not assigned or no configuration found