ASoC: tlv320dac33: Use core to set the msbits constraint

Core can set the msbits constraint in behalf of the dai.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Peter Ujfalusi 2012-01-18 12:18:25 +01:00 committed by Mark Brown
parent f2c6e757f6
commit 8d725b2bcb
1 changed files with 1 additions and 2 deletions

View File

@ -806,8 +806,6 @@ static int dac33_startup(struct snd_pcm_substream *substream,
/* Stream started, save the substream pointer */ /* Stream started, save the substream pointer */
dac33->substream = substream; dac33->substream = substream;
snd_pcm_hw_constraint_msbits(substream->runtime, 0, 32, 24);
return 0; return 0;
} }
@ -1516,6 +1514,7 @@ static struct snd_soc_dai_driver dac33_dai = {
.channels_max = 2, .channels_max = 2,
.rates = DAC33_RATES, .rates = DAC33_RATES,
.formats = DAC33_FORMATS,}, .formats = DAC33_FORMATS,},
.sig_bits = 24,
.ops = &dac33_dai_ops, .ops = &dac33_dai_ops,
}; };