Messages in this thread | | | Date | Tue, 24 Jan 2017 15:48:10 +0000 | From | Mark Brown <> | Subject | Re: [PATCH] spi: mediatek: Manually set dma_ops for spi_master device |
| |
On Tue, Jan 24, 2017 at 09:25:19PM +0800, Daniel Kurtz wrote:
> The master_spi device is not a platform, rather it is created > in spi_alloc_device(), and its dma_ops are never set.
Which is good because it's not a physical device and doesn't do DMA.
> Alternatively, perhaps we should be using master->dev.parent to dma map bufs > in the "no dma channel case".
Yes, exactly. [unhandled content-type:application/pgp-signature] | |