Re: [PATCH v2 4/6] ASoC: Intel: use dw_dmac autoconfiguration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 30, 2015 at 01:40:49PM +0530, Vinod Koul wrote:
> On Mon, Sep 28, 2015 at 06:57:06PM +0300, Andy Shevchenko wrote:
> > Instead of hardconding a platform data for dw_dmac let's use it's own
> > autoconfiguration feature. Thus, remove hardcoded values.

> This need ack from Mark if we carry thru dmaengine tree. You should have
> cced him and ALSA

Is this part of completely removing the platform data or is it just an
incremental change?  What are the dependencies here - I've not seen the
cover letter or the rest of the series?

> > Acked-by: Liam Girdwood <liam.r.girdwood@xxxxxxxxxxxxxxx>
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> > ---
> >  sound/soc/intel/common/sst-firmware.c | 10 ++--------
> >  1 file changed, 2 insertions(+), 8 deletions(-)
> > 
> > diff --git a/sound/soc/intel/common/sst-firmware.c b/sound/soc/intel/common/sst-firmware.c
> > index ebcca6d..1636a1e 100644
> > --- a/sound/soc/intel/common/sst-firmware.c
> > +++ b/sound/soc/intel/common/sst-firmware.c
> > @@ -26,7 +26,6 @@
> >  #include <linux/acpi.h>
> >  
> >  /* supported DMA engine drivers */
> > -#include <linux/platform_data/dma-dw.h>
> >  #include <linux/dma/dw.h>
> >  
> >  #include <asm/page.h>
> > @@ -169,12 +168,6 @@ err:
> >  	return ret;
> >  }
> >  
> > -static struct dw_dma_platform_data dw_pdata = {
> > -	.is_private = 1,
> > -	.chan_allocation_order = CHAN_ALLOCATION_ASCENDING,
> > -	.chan_priority = CHAN_PRIORITY_ASCENDING,
> > -};
> > -
> >  static struct dw_dma_chip *dw_probe(struct device *dev, struct resource *mem,
> >  	int irq)
> >  {
> > @@ -195,7 +188,8 @@ static struct dw_dma_chip *dw_probe(struct device *dev, struct resource *mem,
> >  		return ERR_PTR(err);
> >  
> >  	chip->dev = dev;
> > -	err = dw_dma_probe(chip, &dw_pdata);
> > +
> > +	err = dw_dma_probe(chip, NULL);
> >  	if (err)
> >  		return ERR_PTR(err);
> >  
> > -- 
> > 2.5.1
> > 
> 
> -- 
> ~Vinod
> 

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux