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

Started by Stephen Warren on Nov 29, 2011

open the first message on its own page

Message details and related content
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
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