diff options
author | Jassi Brar <jassi.brar@samsung.com> | 2010-04-27 15:56:45 +0900 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-05-05 15:13:20 +0100 |
commit | 5728242789d3538abcfdcb28e01798801efd9988 (patch) | |
tree | e7610d08a85bd67da0dd82994a286a53e55e19e9 /sound/soc/s3c24xx/jive_wm8750.c | |
parent | 21a7ad08e274ce7b669b165d65e0bab8391552a6 (diff) | |
download | blackbird-op-linux-5728242789d3538abcfdcb28e01798801efd9988.tar.gz blackbird-op-linux-5728242789d3538abcfdcb28e01798801efd9988.zip |
ASoC: S3C: I2Sv2: Unify i2s_get_clock callback
Now that we have two callbacks s3c2412_i2s_get_clock & s3c64xx_i2s_get_clock
doing exactly the same thing, we can define one generic s3c_i2sv2_get_clock
and discard other two copies. Also, switch the users to make calls to the
newly defined and generic s3c_i2sv2_get_clock
Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/s3c24xx/jive_wm8750.c')
-rw-r--r-- | sound/soc/s3c24xx/jive_wm8750.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/s3c24xx/jive_wm8750.c b/sound/soc/s3c24xx/jive_wm8750.c index 97d8ff3196be..8c108b121c10 100644 --- a/sound/soc/s3c24xx/jive_wm8750.c +++ b/sound/soc/s3c24xx/jive_wm8750.c @@ -70,7 +70,7 @@ static int jive_hw_params(struct snd_pcm_substream *substream, } s3c_i2sv2_iis_calc_rate(&div, NULL, params_rate(params), - s3c2412_get_iisclk()); + s3c_i2sv2_get_clock(cpu_dai)); /* set codec DAI configuration */ ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_I2S | |