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

- From: Stephen Warren \<hidden\>
- Date: 2011-11-29 00:21:00 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2011/11/8055804
- Thread: https://ratatoskr.run/alsa-devel/2011/11/8055804/t.md

```text
Stephen Warren wrote at Monday, November 28, 2011 2:08 PM:
...
>  	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
```
