diff options
author | Mika Korhonen <ext-mika.2.korhonen@nokia.com> | 2009-06-25 15:32:19 +0300 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-08-03 14:22:16 +0100 |
commit | 3cae1cc149c40c14424162496eb5a7c8db1cd4fb (patch) | |
tree | 6f1628679b08b322419a08b07942b4d3e7f26432 /drivers | |
parent | 00acf4a80779611a7ea77ff5b5ffab886ed5cc42 (diff) | |
download | op-kernel-dev-3cae1cc149c40c14424162496eb5a7c8db1cd4fb.zip op-kernel-dev-3cae1cc149c40c14424162496eb5a7c8db1cd4fb.tar.gz |
mtd: OneNAND: OMAP2/3: free GPMC CS on module removal
GPMC CS was not freed in omap2_onenand_remove() preventing the module
from reloading after removal.
Signed-off-by: Mika Korhonen <ext-mika.2.korhonen@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/onenand/omap2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/onenand/omap2.c b/drivers/mtd/onenand/omap2.c index 6fac1f4..0108ed4 100644 --- a/drivers/mtd/onenand/omap2.c +++ b/drivers/mtd/onenand/omap2.c @@ -770,6 +770,7 @@ static int __devexit omap2_onenand_remove(struct platform_device *pdev) } iounmap(c->onenand.base); release_mem_region(c->phys_base, ONENAND_IO_SIZE); + gpmc_cs_free(c->gpmc_cs); kfree(c); return 0; |