author | Sam Nelson <sam.nelson@ti.com> | |
Thu, 11 Feb 2016 19:19:58 +0000 (14:19 -0500) | ||
committer | Angela Stegmaier <angelabaker@ti.com> | |
Fri, 12 Feb 2016 19:11:14 +0000 (13:11 -0600) | ||
commit | 852ee1f3048ac49d9f1b2c9de1fdc6bfdb8cd5c0 | |
tree | 3483c49b27e42bde49089255dfacfa1a8eb1a18f | tree | snapshot (tar.xz tar.gz zip) |
parent | 2b47e35ed72170e4e56906fb9ab93dd9ef385a38 | commit | diff |
GateMP: Add check for zero resources case
When reserving SR0 regions for GateMp instances, in some cases,
(for example the NULL gate) has zero resources. This was
not handled properly and resulted in failure. Fix is to avoid doing
unnecessary operations in case of zero resources.
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
When reserving SR0 regions for GateMp instances, in some cases,
(for example the NULL gate) has zero resources. This was
not handled properly and resulted in failure. Fix is to avoid doing
unnecessary operations in case of zero resources.
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
packages/ti/sdo/ipc/GateMP.c | diff | blob | history |