Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355552
b: refs/heads/master
c: 79cf591
h: refs/heads/master
v: v3
  • Loading branch information
Prashant Gaikwad authored and Stephen Warren committed Jan 28, 2013
1 parent bab0af4 commit 4beff9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 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: 1e54f0a21e7debcd8acb0fe39adc6f81751e1b57
refs/heads/master: 79cf5918aaed097144fe7e0e455958c817c8a534
14 changes: 2 additions & 12 deletions trunk/sound/soc/tegra/tegra30_ahub.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,15 +299,6 @@ static const char * const configlink_clocks[] = {
"spdif_in",
};

struct of_dev_auxdata ahub_auxdata[] = {
OF_DEV_AUXDATA("nvidia,tegra30-i2s", 0x70080300, "tegra30-i2s.0", NULL),
OF_DEV_AUXDATA("nvidia,tegra30-i2s", 0x70080400, "tegra30-i2s.1", NULL),
OF_DEV_AUXDATA("nvidia,tegra30-i2s", 0x70080500, "tegra30-i2s.2", NULL),
OF_DEV_AUXDATA("nvidia,tegra30-i2s", 0x70080600, "tegra30-i2s.3", NULL),
OF_DEV_AUXDATA("nvidia,tegra30-i2s", 0x70080700, "tegra30-i2s.4", NULL),
{}
};

#define LAST_REG(name) \
(TEGRA30_AHUB_##name + \
(TEGRA30_AHUB_##name##_STRIDE * TEGRA30_AHUB_##name##_COUNT) - 4)
Expand Down Expand Up @@ -451,7 +442,7 @@ static int tegra30_ahub_probe(struct platform_device *pdev)
* Ensure that here.
*/
for (i = 0; i < ARRAY_SIZE(configlink_clocks); i++) {
clk = clk_get_sys(NULL, configlink_clocks[i]);
clk = clk_get(&pdev->dev, configlink_clocks[i]);
if (IS_ERR(clk)) {
dev_err(&pdev->dev, "Can't get clock %s\n",
configlink_clocks[i]);
Expand Down Expand Up @@ -569,8 +560,7 @@ static int tegra30_ahub_probe(struct platform_device *pdev)
goto err_pm_disable;
}

of_platform_populate(pdev->dev.of_node, NULL, ahub_auxdata,
&pdev->dev);
of_platform_populate(pdev->dev.of_node, NULL, NULL, &pdev->dev);

return 0;

Expand Down

0 comments on commit 4beff9d

Please sign in to comment.