author | Badri S <badri@ti.com> | |
Sun, 1 Nov 2020 17:30:11 +0000 (23:00 +0530) | ||
committer | Sivaraj R <sivaraj@ti.com> | |
Mon, 2 Nov 2020 07:49:57 +0000 (01:49 -0600) | ||
commit | 6709546982c0771fa97e9d259bea01efe75e7e31 | |
tree | 7dbd9ae0e028b311b3b7415cb33568968a809a97 | tree | snapshot (tar.xz tar.gz zip) |
parent | 93462a8cdbe9fd4a312fdb96d49b8fe6f7f9406e | commit | diff |
[PDK-8394] Bug fix for wrong delay value in edma ut
Osal_delay takes delay in ms in ti_rtos configuration
but in CPU cycles in baremetal configuration.The test
case was invoking Osal_delay with large values assuming
CPU cycles but results in huge delay in execution as it
is interpreted as ms delay.Setting delay value to min 1
which is sufficient. Osal_delay API has to be fixed so that
API behaviour is same for both baremetal and ti_rtos
Signed-off-by: Badri S <badri@ti.com>
Osal_delay takes delay in ms in ti_rtos configuration
but in CPU cycles in baremetal configuration.The test
case was invoking Osal_delay with large values assuming
CPU cycles but results in huge delay in execution as it
is interpreted as ms delay.Setting delay value to min 1
which is sufficient. Osal_delay API has to be fixed so that
API behaviour is same for both baremetal and ti_rtos
Signed-off-by: Badri S <badri@ti.com>
packages/ti/drv/edma/unit_test/edma_ut/main.c | [changed mode: 0755->0644] | diff | blob | history |