From: Matias Elo <matias....@nokia.com> Signed-off-by: Matias Elo <matias....@nokia.com> --- /** Email created from pull request 664 (matiaselo:dev/timer_pool_capability) ** https://github.com/Linaro/odp/pull/664 ** Patch: https://github.com/Linaro/odp/pull/664.patch ** Base sha: 9b2b5a9695ad66977c964c83691cd2fef4c45b85 ** Merge commit sha: 50bf16b325efa11919ae073173ebcd0fec8ebe81 **/ platform/linux-generic/odp_timer.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/platform/linux-generic/odp_timer.c b/platform/linux-generic/odp_timer.c index 5fef5af2e..3b2438862 100644 --- a/platform/linux-generic/odp_timer.c +++ b/platform/linux-generic/odp_timer.c @@ -1072,6 +1072,9 @@ int odp_timer_capability(odp_timer_clk_src_t clk_src, int ret = 0; if (clk_src == ODP_CLOCK_CPU) { + capa->max_pools_combined = MAX_TIMER_POOLS; + capa->max_pools = MAX_TIMER_POOLS; + capa->max_num = 0; capa->highest_res_ns = highest_res_ns; } else { ODP_ERR("ODP timer system doesn't support external clock source currently\n");