RE: [PATCH] ASoC: Tegra I2S: Add device tree binding

From
Stephen Warren <hidden>
Date
2011-11-29 00:21:00
Also in
alsa-devel, linux-tegra
Stephen Warren wrote at Monday, November 28, 2011 2:08 PM:
...
quoted hunk
 	dmareq = platform_get_resource(pdev, IORESOURCE_DMA, 0);
 	if (!dmareq) {
-		dev_err(&pdev->dev, "No DMA resource\n");
-		ret = -ENODEV;
-		goto err_clk_put;
+		if (of_property_read_u32_array(pdev->dev.of_node,
+					"nvidia,dma-request-selector",
+					&of_dma, 2) < 0) {
That should be "of_dma" not "&of_dma". I think that's just a compile
warning. I'll wait for any other comments before a respin.

-- 
nvpublic
Thread (1 message) 1 message, 1 author, last reply 2011-11-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help