]> git.baikalelectronics.ru Git - kernel.git/commit
staging: most: dim2: use device to allocate coherent memory
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 8 May 2018 09:45:13 +0000 (11:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 May 2018 11:41:51 +0000 (13:41 +0200)
commite1d2dbfa324eff592cd95587ac9583f5f964ab69
tree1582c7e845cf32663f8526540e0c27ca6a0f9789
parent604e73fdba90708a8367c5bee7694b8a5ba47a0c
staging: most: dim2: use device to allocate coherent memory

On several architectures the allocation of coherent memory needs a device
that has the dma_ops structure properly initialized. This patch enables
the DIM2 platform to be used to allocate this type of memory.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/dim2/dim2.c