Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193426
b: refs/heads/master
c: d79696f
h: refs/heads/master
v: v3
  • Loading branch information
Jassi Brar authored and Mark Brown committed May 5, 2010
1 parent 8d99bc2 commit 669920c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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: ce76f9fd34d4d39fbda330f14b327273551e2f54
refs/heads/master: d79696ff443eb16a1a13bd7db030a25fee9f44a7
8 changes: 7 additions & 1 deletion trunk/sound/soc/s3c24xx/s3c2412-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,13 @@ static int s3c2412_i2s_set_sysclk(struct snd_soc_dai *cpu_dai,

struct clk *s3c2412_get_iisclk(void)
{
return s3c2412_i2s.iis_clk;
struct s3c_i2sv2_info *i2s = &s3c2412_i2s;
u32 iismod = readl(i2s->regs + S3C2412_IISMOD);

if (iismod & S3C2412_IISMOD_IMS_SYSMUX)
return i2s->iis_cclk;
else
return i2s->iis_pclk;
}
EXPORT_SYMBOL_GPL(s3c2412_get_iisclk);

Expand Down

0 comments on commit 669920c

Please sign in to comment.