summaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei
diff options
context:
space:
mode:
authorShraddha Barke <shraddha.6596@gmail.com>2016-01-21 02:38:53 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-01-28 23:56:47 -0800
commit3e2fbc7feec4426feba609b94aa89a147e02c67e (patch)
tree2ea3ade31fb994c0efcdb815bd0c4740761d1f26 /drivers/misc/mei
parentd62f324b0ac80c3923ebbf897735c7c24ba887b8 (diff)
downloadlinux-3e2fbc7feec4426feba609b94aa89a147e02c67e.tar.bz2
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 'drivers/misc/mei')
0 files changed, 0 insertions, 0 deletions