From: Sekhar Nori Date: Tue, 29 Jun 2010 06:05:12 +0000 (+0530) Subject: davinci: edma: provide ability to detect insufficient CC info data X-Git-Tag: v2.6.36-rc1~489^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc3ac9f31642fb4697b313c2eb575c5286f35c2a;p=pandora-kernel.git 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 Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed