[alsa-devel] [PATCH 2/6] ASoC: mxs: use devm_clk_get for mxs_saif_probe

Shawn Guo shawn.guo at linaro.org
Thu May 10 05:11:55 EDT 2012


On 10 May 2012 17:12, Dong Aisheng <aisheng.dong at freescale.com> wrote:
>>       dmares = platform_get_resource(pdev, IORESOURCE_DMA, 0);
>>       if (!dmares) {
>> -             ret = -ENODEV;
> The 'ret' is used below.

Right, good catch.

> The following has the same issue.
>
>>               dev_err(&pdev->dev, "failed to get dma resource: %d\n",
>>                       ret);
> I think we can remove the ret here since it does not help too much.
>
Ok, will do.

Regards,
Shawn



More information about the linux-arm-kernel mailing list