+60
−34
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
kmalloc the SPI rx and tx data buffers. This appears to be the only portable way to guarantee that the buffers are DMA-safe (e.g., in separate DMA cache-lines). This patch makes the spi_rdX()/spi_wrX() non-reentrant, but that's OK because calls to them are guaranteed to be serialized by the per-HCD SPI-thread. Reported-by:kbuild test robot <fengguang.wu@intel.com> Signed-off-by:
David Mosberger <davidm@egauge.net> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>