summaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorShubhrajyoti D <shubhrajyoti@ti.com>2011-10-24 15:54:24 +0530
committerGrant Likely <grant.likely@secretlab.ca>2011-10-24 13:44:30 +0200
commit1458d160de3f1862aeaac57447ba96e7857ac52b (patch)
tree98565db94ae3af17c6ac4a645f557818ff2e9ef3 /crypto/testmgr.c
parenta853ba8d6d5d76bcbc5bf35b945b5727b5e5a36d (diff)
OMAP: SPI: Fix the trying to free nonexistent resource error
Currently there is a request_mem_region(r->start, .. followed by r->start += pdata->regs_offset; And then in remove r = platform_get_resource(pdev, IORESOURCE_MEM, 0); release_mem_region(r->start, resource_size(r)); Here the offset addition is not taken care. Fix the code for the same. Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'crypto/testmgr.c')
0 files changed, 0 insertions, 0 deletions