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

Stephen Warren swarren at nvidia.com
Tue Nov 29 11:21:00 EST 2011


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



More information about the devicetree-discuss mailing list