提交 8d725b2b 编写于 作者: P Peter Ujfalusi 提交者: Mark Brown

ASoC: tlv320dac33: Use core to set the msbits constraint

Core can set the msbits constraint in behalf of the dai.
Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 f2c6e757
......@@ -806,8 +806,6 @@ static int dac33_startup(struct snd_pcm_substream *substream,
/* Stream started, save the substream pointer */
dac33->substream = substream;
snd_pcm_hw_constraint_msbits(substream->runtime, 0, 32, 24);
return 0;
}
......@@ -1516,6 +1514,7 @@ static struct snd_soc_dai_driver dac33_dai = {
.channels_max = 2,
.rates = DAC33_RATES,
.formats = DAC33_FORMATS,},
.sig_bits = 24,
.ops = &dac33_dai_ops,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册