diff options
| author | Shraddha Barke <shraddha.6596@gmail.com> | 2016-01-21 00:08:53 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-29 10:56:47 +0300 |
| commit | 3e2fbc7feec4426feba609b94aa89a147e02c67e (patch) | |
| tree | 2ea3ade31fb994c0efcdb815bd0c4740761d1f26 /include/linux/timerqueue.h | |
| parent | d62f324b0ac80c3923ebbf897735c7c24ba887b8 (diff) | |
| download | linux-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/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
