Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148235
b: refs/heads/master
c: 5143844
h: refs/heads/master
i:
  148233: c788cc2
  148231: c33a3c4
v: v3
  • Loading branch information
Mark Brown committed Apr 30, 2009
1 parent ea2a155 commit f81b492
Show file tree
Hide file tree
Showing 3 changed files with 7 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: 8a0f62b842e2f189e36d9f4c575ee15da9c605ff
refs/heads/master: 51438449e717db54550b4676f38208092eb654da
7 changes: 3 additions & 4 deletions trunk/sound/soc/s3c24xx/s3c64xx-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,14 +108,13 @@ static int s3c64xx_i2s_set_sysclk(struct snd_soc_dai *cpu_dai,
return 0;
}


unsigned long s3c64xx_i2s_get_clockrate(struct snd_soc_dai *dai)
struct clk *s3c64xx_i2s_get_clock(struct snd_soc_dai *dai)
{
struct s3c_i2sv2_info *i2s = to_info(dai);

return clk_get_rate(i2s->iis_cclk);
return i2s->iis_cclk;
}
EXPORT_SYMBOL_GPL(s3c64xx_i2s_get_clockrate);
EXPORT_SYMBOL_GPL(s3c64xx_i2s_get_clock);

static int s3c64xx_i2s_probe(struct platform_device *pdev,
struct snd_soc_dai *dai)
Expand Down
4 changes: 3 additions & 1 deletion trunk/sound/soc/s3c24xx/s3c64xx-i2s.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
#ifndef __SND_SOC_S3C24XX_S3C64XX_I2S_H
#define __SND_SOC_S3C24XX_S3C64XX_I2S_H __FILE__

struct clk;

#include "s3c-i2s-v2.h"

#define S3C64XX_DIV_BCLK S3C_I2SV2_DIV_BCLK
Expand All @@ -26,6 +28,6 @@

extern struct snd_soc_dai s3c64xx_i2s_dai[];

extern unsigned long s3c64xx_i2s_get_clockrate(struct snd_soc_dai *cpu_dai);
extern struct clk *s3c64xx_i2s_get_clock(struct snd_soc_dai *dai);

#endif /* __SND_SOC_S3C24XX_S3C64XX_I2S_H */

0 comments on commit f81b492

Please sign in to comment.