summaryrefslogtreecommitdiffstats
path: root/mm/filemap_xip.c
diff options
context:
space:
mode:
authorSandeep Paulraj <s-paulraj@ti.com>2009-09-17 00:17:43 +0200
committerKevin Hilman <khilman@deeprootsystems.com>2009-11-25 19:21:24 +0100
commit6b0cf4e93c3212810f775967bdb2206be65eccec (patch)
treec739b7ca937bf0b855e402dd73ad49dff90b8360 /mm/filemap_xip.c
parentDaVinci: EDMA: Fix bug in edma_free_cont_slots API (diff)
downloadlinux-6b0cf4e93c3212810f775967bdb2206be65eccec.tar.xz
linux-6b0cf4e93c3212810f775967bdb2206be65eccec.zip
DaVinci: EDMA: Fix Bug in edma_alloc_cont_slots API
The edma_alloc_cont_slots API is used for obtaining a set of contiguous slots. When we use the "_ANY" option with this API, by definition of this option it is suppossed to start looking for a set of contiguous slots starting from slot 64 for DaVinci SOC's and 32 for DA8xx SOC's. This has been explained in the API description in the driver itself. So when we use the "_ANY" option with this API, the slot number passed as an argument should be a "don't care". This patch takes care of this condition mentioned above. When checking to see if the starting slot is a valid number, it checks to make sure that the "_ANY" option is not used. Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'mm/filemap_xip.c')
0 files changed, 0 insertions, 0 deletions