6 Nov
2014
6 Nov
'14
1:51 p.m.
On Tue, Nov 04, 2014 at 04:25:20PM +0530, Vinod Koul wrote:
+static int mrfld_wm8958_set_clk(struct snd_soc_dai *codec_dai) +{
- int ret = 0;
- struct snd_soc_card *card = codec_dai->card;
- ret = snd_soc_dai_set_tdm_slot(codec_dai, 0xf0, 0xf0, 4, 24);
- if (ret < 0) {
dev_err(card->dev, "can't set codec pcm format %d\n", ret);
return ret;
- }
We already set this on init - why do we need to set it each time here too?