[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170124154810.ikbxaptvtg5wamzj@sirena.org.uk>
Date: Tue, 24 Jan 2017 15:48:10 +0000
From: Mark Brown <broonie@...nel.org>
To: Daniel Kurtz <djkurtz@...omium.org>
Cc: Leilk Liu <leilk.liu@...iatek.com>, dtor@...omium.org,
groeck@...omium.org, Matthias Brugger <matthias.bgg@...il.com>,
"open list:SPI SUBSYSTEM" <linux-spi@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>,
"moderated list:ARM/Mediatek SoC support"
<linux-arm-kernel@...ts.infradead.org>,
"moderated list:ARM/Mediatek SoC support"
<linux-mediatek@...ts.infradead.org>
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.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists