Revision c95469aa5a188384ccf8ac520ece931c66caf8aa authored by Alexandre Courbot on 26 February 2016, 09:06:53 UTC, committed by Thierry Reding on 04 March 2016, 15:24:57 UTC
Currently host1x-instanciated devices have their dma_ops left to NULL,
which makes any DMA operation (like buffer import) on ARM64 fallback
to the dummy_dma_ops and fail with an error.

This patch calls of_dma_configure() with the host1x node when creating
such a device, so the proper DMA operations are set.

Suggested-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent 097452e
History
File Mode Size
Kconfig -rw-r--r-- 1.7 KB
Makefile -rw-r--r-- 312 bytes
fmc-chardev.c -rw-r--r-- 4.1 KB
fmc-core.c -rw-r--r-- 7.0 KB
fmc-dump.c -rw-r--r-- 2.6 KB
fmc-fakedev.c -rw-r--r-- 10.5 KB
fmc-match.c -rw-r--r-- 3.1 KB
fmc-sdb.c -rw-r--r-- 7.3 KB
fmc-trivial.c -rw-r--r-- 2.4 KB
fmc-write-eeprom.c -rw-r--r-- 4.1 KB
fru-parse.c -rw-r--r-- 1.8 KB

back to top