Subject: [PATCH 8/8] mmc: spi: Add DMA support into SPI driver

From: [email-masked] (Marek Vasut)
Date: Wed, 4 Jul 2012 23:40:55 +0200

Dear Fabio Estevam,

> Hi Marek,
> 
> On 6/29/12, Marek Vasut <[email-masked]> wrote:
> >  	iores = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> > 
> > -	if (!iores)
> > +	dmares = platform_get_resource(pdev, IORESOURCE_DMA, 0);
> > +	irq_err = platform_get_irq(pdev, 0);
> > +	irq_dma = platform_get_irq(pdev, 1);
> > +	if (!iores || irq_err < 0 || irq_dma < 0)
> 
> Shouldn't you check for dmares < 0 here too?

Yes. What about the rest of the patches? Are they applicable?

Best regards,
Marek Vasut