summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShraddha Barke <shraddha.6596@gmail.com>2016-01-21 00:08:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-01-29 10:56:47 +0300
commit3e2fbc7feec4426feba609b94aa89a147e02c67e (patch)
tree2ea3ade31fb994c0efcdb815bd0c4740761d1f26 /include
parentd62f324b0ac80c3923ebbf897735c7c24ba887b8 (diff)
downloadlinux-3e2fbc7feec4426feba609b94aa89a147e02c67e.tar.xz
Staging: goldfish: goldfish_nand: Add DMA Support using dmam_alloc_coherent
Function nand_setup_cmd_params has 2 goals- -Initialize the cmd_params field so that it can be used to send and read commands from the device. -Get a bus address for the allocated memory to transfer to the device. Replace the combination of devm_kzalloc and _pa() with dmam_alloc_coherent. Coherent mapping guarantees that the device and CPU are in sync. Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions