author | Don Dominic <a0486429@ti.com> | |
Thu, 14 May 2020 14:20:57 +0000 (19:50 +0530) | ||
committer | Don Dominic <a0486429@ti.com> | |
Thu, 14 May 2020 14:20:57 +0000 (19:50 +0530) | ||
commit | 9a1c0ebbb1bdd7c180100dc4ebad26ee873b2291 | |
tree | 94af72ec35f089fd492975a453782d00266943a8 | tree | snapshot (tar.xz tar.gz zip) |
parent | 97fecfcd537531800e52008e189d6ba4ca5c20c3 | commit | diff |
[PDK-5988] UDMA : Fix Bug introduced by SA issue resolution
-Fix for a minor bug introduced by Static Analysis issue resolution in commit:97fecfcd
-In case of LCDMA, since Teardown event is not supported, the eventRegister & eventUnregister will be bypassed.
As a result eventInitDone wont be set to UDMA_INIT_DONE.
While bypassing eventUnregister, as part of SA fix, the check for eventInitDone was moved alongwith Handle NULL_PTR check.
It was on top of the if condition to bypass the Teardown event. Due to this, Teardown event returned EFAIL in AM64x.
-The check for eventInitDone is moved under, bypass check.
Signed-off-by: Don Dominic <a0486429@ti.com>
-Fix for a minor bug introduced by Static Analysis issue resolution in commit:97fecfcd
-In case of LCDMA, since Teardown event is not supported, the eventRegister & eventUnregister will be bypassed.
As a result eventInitDone wont be set to UDMA_INIT_DONE.
While bypassing eventUnregister, as part of SA fix, the check for eventInitDone was moved alongwith Handle NULL_PTR check.
It was on top of the if condition to bypass the Teardown event. Due to this, Teardown event returned EFAIL in AM64x.
-The check for eventInitDone is moved under, bypass check.
Signed-off-by: Don Dominic <a0486429@ti.com>
packages/ti/drv/udma/src/udma_event.c | diff | blob | history |