diff options
author | Sekhar Nori <nsekhar@ti.com> | 2010-06-29 11:35:12 +0530 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-08-05 09:58:24 -0700 |
commit | bc3ac9f31642fb4697b313c2eb575c5286f35c2a (patch) | |
tree | abeeaa649da9d69713bf876575b5ba95befb1731 /arch/blackfin | |
parent | f027512db7410ed149422262b07d2c78f0a36282 (diff) |
davinci: edma: provide ability to detect insufficient CC info data
This patch modifies the EDMA driver to expect the channel
controller (CC) infomation passed on by the platform as a fixed
size (EDMA_MAX_CC) array of pointers to structures.
Doing so helps catch errors of the sort where the resource
structure has information for more channel controllers than
the number channel controller info structures defined.
Such insufficient platform data would lead to illegal memory
accesses.
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/blackfin')
0 files changed, 0 insertions, 0 deletions