Thread (18 messages) 18 messages, 3 authors, 2012-07-05
STALE5079d

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

From: marex@denx.de (Marek Vasut)
Date: 2012-07-04 21:40:55
Also in: linux-spi

Dear Fabio Estevam,
Hi Marek,

On 6/29/12, Marek Vasut [off-list ref] wrote:
quoted
 	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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help