linux/drivers/staging/goldfish
Shraddha Barke 3e2fbc7fee 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>
2016-01-28 23:56:47 -08:00
..
goldfish_audio.c staging: goldfish: Fix pointer cast for 32 bits 2015-05-31 11:40:14 +09:00
goldfish_nand_reg.h staging: goldfish: Prefer kernel type u32 over uint32_t 2015-09-12 18:24:38 -07:00
goldfish_nand.c Staging: goldfish: goldfish_nand: Add DMA Support using dmam_alloc_coherent 2016-01-28 23:56:47 -08:00
Kconfig
Makefile
README staging: goldfish: switch from spinlock to mutex 2014-04-16 20:12:55 -07:00

Audio
-----
- Move to using the ALSA framework not faking it
- Fix the wrong user page DMA (moving to ALSA may fix that too)

NAND
----
- Remove excess checking of parameters in calls
- Use dma coherent memory not kmalloc/__pa for the memory (this is just
  a cleanliness issue not a correctness one)