|
@@ -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)
|