Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111042
b: refs/heads/master
c: 081b355
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Baryshkov authored and Jaroslav Kysela committed Sep 23, 2008
1 parent b2da7a1 commit 3412dab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 8bae3e2335132aadd29662694866a55d52bff850
refs/heads/master: 081b355dd5a17788880a0241ed988c7483c1e40f
10 changes: 5 additions & 5 deletions trunk/sound/soc/pxa/pxa2xx-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ static struct pxa2xx_gpio gpio_bus[] = {
.frm = GPIO31_SYNC_I2S_MD,
},
{ /* I2S SoC Master */
#ifdef CONFIG_PXA27x
.sys = GPIO113_I2S_SYSCLK_MD,
#else
.sys = GPIO32_SYSCLK_I2S_MD,
#endif
.rx = GPIO29_SDATA_IN_I2S_MD,
.tx = GPIO30_SDATA_OUT_I2S_MD,
.clk = GPIO28_BITCLK_OUT_I2S_MD,
Expand Down Expand Up @@ -343,6 +338,11 @@ static struct platform_driver pxa2xx_i2s_driver = {

static int __init pxa2xx_i2s_init(void)
{
if (cpu_is_pxa27x())
gpio_bus[1].sys = GPIO113_I2S_SYSCLK_MD;
else
gpio_bus[1].sys = GPIO32_SYSCLK_I2S_MD;

clk_i2s = ERR_PTR(-ENOENT);
return platform_driver_register(&pxa2xx_i2s_driver);
}
Expand Down

0 comments on commit 3412dab

Please sign in to comment.