diff options
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | 2013-04-17 13:38:14 -0300 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2013-08-05 20:48:13 +0100 |
commit | 498b6145b8878c3659dfe57921deb7802196ce43 (patch) | |
tree | 70b9364f3ac8827ceb33b4c633df304fe5c6421a /include/linux/mtd | |
parent | 1f8eaff2aa75f8ec662e044deecdc91abc780d60 (diff) | |
download | linux-stable-498b6145b8878c3659dfe57921deb7802196ce43.tar.gz linux-stable-498b6145b8878c3659dfe57921deb7802196ce43.tar.bz2 linux-stable-498b6145b8878c3659dfe57921deb7802196ce43.zip |
mtd: nand: pxa3xx: Move buffer release code to its own function
Create a function to release the buffer and the dma channel, thus undoing
what pxa3xx_nand_init_buff() did. This commit makes the code more readable
and will allow to handle non-DMA capable platforms easier.
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux/mtd')
0 files changed, 0 insertions, 0 deletions