Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297510
b: refs/heads/master
c: 6602b0d
h: refs/heads/master
v: v3
  • Loading branch information
Fabio Estevam authored and Vinod Koul committed Mar 6, 2012
1 parent 4ab9463 commit 4968056
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9e15db7ce949e9f2d8bb6ce32a74212a4f662370
refs/heads/master: 6602b0ddf399d4438fdea17b4b4a65df5ec97bb8
13 changes: 5 additions & 8 deletions trunk/drivers/dma/imx-sdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1396,15 +1396,12 @@ static int __init sdma_probe(struct platform_device *pdev)
*/
ret = of_property_read_string(np, "fsl,sdma-ram-script-name",
&fw_name);
if (ret) {
if (ret)
dev_err(&pdev->dev, "failed to get firmware name\n");
goto err_init;
}

ret = sdma_get_firmware(sdma, fw_name);
if (ret) {
dev_err(&pdev->dev, "failed to get firmware\n");
goto err_init;
else {
ret = sdma_get_firmware(sdma, fw_name);
if (ret)
dev_err(&pdev->dev, "failed to get firmware\n");
}
}

Expand Down

0 comments on commit 4968056

Please sign in to comment.