Re: [PATCH V2] spi: tegra: add spi driver for SLINK controller

From: Mark Brown
Date: Tue Oct 30 2012 - 11:14:53 EST


On Tue, Oct 30, 2012 at 11:13:34AM +0530, Laxman Dewangan wrote:
> On Tuesday 30 October 2012 12:44 AM, Stephen Warren wrote:

> >I think it depends on DMAENGINE, not the specific driver now, doesn't it?

> Taking example from the mfd, we depends on particular driver, not
> from the core driver.
> I like to have this depends on Tegra20_apb_dma.

The reason MFDs do this is that the function drivers usually directly
reference the core driver in some way, for example by relying on data
structures it sets up. With DMA that should all be hidden behind the
dmaengine API.

Attachment: signature.asc
Description: Digital signature