提交 29ad6647 编写于 作者: W Wendy Liang 提交者: Michal Simek

misc: xilinx-ai-engine: remove repeated words in comments

Remove repeated words in comments.
Signed-off-by: NWendy Liang <wendy.liang@xilinx.com>
上级 137cd9d6
......@@ -530,7 +530,7 @@ static int aie_partition_dev_match(struct device *dev, const void *data)
* NULL.
*
* This function looks up all the devices of the AI engine class to check if
* the device is AI engine partition device if if the partition ID matches.
* the device is AI engine partition device if the partition ID matches.
*/
static struct aie_partition *aie_class_find_partition_from_id(u32 partition_id)
{
......
......@@ -82,7 +82,7 @@ aie_part_find_dmabuf_from_file(struct aie_partition *apart,
* @apart: AI engine partition
* @va: virtual address
* @len: memory length
* @return: dma address of of the specified va, or 0 if va is not valid
* @return: dma address of the specified va, or 0 if va is not valid
*
* This function returns DMA address if the has been mapped to a dmabuf which
* has been attached to the AI engine partition.
......
......@@ -15,9 +15,8 @@ static int aie_fpga_bridge_enable_set(struct fpga_bridge *bridge, bool enable)
/*
* TBD:
* "Enable" should enable the SHIM tile configuration.
* "Disable" should should disable SHIM DMAs, and wait
* until SHIM DMA stops, and disable SHIM
* to PL streams within partition.
* "Disable" should disable SHIM DMAs, and wait until SHIM DMA stops,
* and disable SHIM to PL streams within partition.
*/
ret = mutex_lock_interruptible(&apart->mlock);
if (ret)
......
......@@ -493,7 +493,7 @@ static inline u32 aie_cal_regoff(struct aie_device *adev,
* partition
* @apart: AI engine partition
* @loc: AI engine tile location
* @return: return 0 if it it is valid, negative value for errors.
* @return: return 0 if it is valid, negative value for errors.
*
* This function checks if the AI engine location is within the AI engine
* partition.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册