diff options
author | Andreas Bießmann <andreas@biessmann.de> | 2012-08-31 13:35:42 +0200 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2012-09-29 15:29:51 +0100 |
commit | 4d3d688da8e7016f15483e9319b41311e1db9515 (patch) | |
tree | 1ae19ed7ca2d3a08139c9146ce3bf2bdcee5c76a /drivers/mtd/cmdlinepart.c | |
parent | 7d9b110269253b1d5858cfa57d68dfc7bf50dd77 (diff) |
mtd: omap2: fix module loading
Unloading the omap2 nand driver missed to release the memory region which will
result in not being able to request it again if one want to load the driver
later on.
This patch fixes following error when loading omap2 module after unloading:
---8<---
~ $ rmmod omap2
~ $ modprobe omap2
[ 37.420928] omap2-nand: probe of omap2-nand.0 failed with error -16
~ $
--->8---
This error was introduced in 67ce04bf2746f8a1f8c2a104b313d20c63f68378 which
was the first commit of this driver.
Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
Cc: stable@vger.kernel.org
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/cmdlinepart.c')
0 files changed, 0 insertions, 0 deletions