diff options
author | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | 2016-02-16 15:41:42 +0200 |
---|---|---|
committer | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | 2016-02-16 15:41:42 +0200 |
commit | 3b472f967a5205887904b9cb91e807d11c91ef98 (patch) | |
tree | d8b5fc645a4c18a89da6c2358b34151bea8df1bc | |
parent | b5d5b0fd92cf8570da0e21a5ba876278df563900 (diff) |
linux-ks2: schedule: cancel preschedule event in shcedule pause
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
-rw-r--r-- | platform/linux-keystone2/odp_schedule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/linux-keystone2/odp_schedule.c b/platform/linux-keystone2/odp_schedule.c index 8aa17e57..da161066 100644 --- a/platform/linux-keystone2/odp_schedule.c +++ b/platform/linux-keystone2/odp_schedule.c @@ -221,6 +221,8 @@ int odp_schedule_multi(odp_queue_t *out_queue, uint64_t wait, void odp_schedule_pause(void) { ti_em_schedule_pause(); + /* cancel previous preschedule */ + ti_em_preschedule_cancel(); } |