Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284024
b: refs/heads/master
c: d4d9820
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Dec 28, 2011
1 parent 0a19a89 commit 8170734
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 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: 6ab7e71a9cbcd31f5ee09da384bcfcf0fa11b8c9
refs/heads/master: d4d9820b4ad6d6227cad090a9f695eea37814215
3 changes: 1 addition & 2 deletions trunk/sound/soc/kirkwood/kirkwood-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,13 +441,12 @@ static __devinit int kirkwood_i2s_dev_probe(struct platform_device *pdev)
goto err_ioremap;
}

if (!data || !data->dram) {
if (!data) {
dev_err(&pdev->dev, "no platform data ?!\n");
err = -EINVAL;
goto err_ioremap;
}

priv->dram = data->dram;
priv->burst = data->burst;

return snd_soc_register_dai(&pdev->dev, &kirkwood_i2s_dai);
Expand Down
1 change: 0 additions & 1 deletion trunk/sound/soc/kirkwood/kirkwood.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ struct kirkwood_dma_data {
void __iomem *io;
int irq;
int burst;
struct mbus_dram_target_info *dram;
};

#endif

0 comments on commit 8170734

Please sign in to comment.