git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a853ba8
)
OMAP: SPI: Fix the trying to free nonexistent resource error
author
Shubhrajyoti D
<shubhrajyoti@ti.com>
Mon, 24 Oct 2011 10:24:24 +0000
(15:54 +0530)
committer
Grant Likely
<grant.likely@secretlab.ca>
Mon, 24 Oct 2011 11:44:30 +0000
(13:44 +0200)
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>
drivers/spi/spi-omap2-mcspi.c
patch
|
blob
|
history
diff --cc
drivers/spi/spi-omap2-mcspi.c
Simple merge