[PATCH v4 2/4] spi: spi-mtk-nor: use dma_alloc_coherent() for bounce buffer

Mark Brown broonie at kernel.org
Mon Oct 5 11:24:33 EDT 2020


On Tue, Sep 29, 2020 at 03:37:53PM +0800, Ikjoon Jang wrote:
> Use dma_alloc_coherent() for bounce buffer instead of kmalloc() to
> make sure the bounce buffer to be allocated within its DMAable range.

This doesn't apply against current code, please check and resend.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20201005/44cca70d/attachment.sig>


More information about the Linux-mediatek mailing list