commit | 06b6c0f393cde2388bc85ffdbb9d7f7163cd7eb1 | [log] [tgz] |
---|---|---|
author | Dhananjay Kumar <dhakumar@codeaurora.org> | Wed Jul 24 14:28:25 2019 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Sun Jul 28 23:21:58 2019 -0700 |
tree | 0000e07bc0a5e4e5cc00d8c5bf5e5f15109652a5 | |
parent | b150d82cd7f4d0969f5dc72a7582f79de76f0e5e [diff] |
hal: fix fragment size calculation for compressed offload usecase Compress offload fragment size is using duration_us provided in offload info even if its set to -1, leading to incorrect and smaller value which in turns results in higher power consumption. Update check for duration us to exclude invalid values and use it for calculating fragment size only if its within specified range. Change-Id: Ib134a67d95fe663f5f77f688469bee1bf0ce1708