Skip to content

Commit

Permalink
ASoC: tlv320dac33: Use core to set the msbits constraint
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Ujfalusi authored and Mark Brown committed Jan 20, 2012
1 parent f2c6e75 commit 8d725b2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sound/soc/codecs/tlv320dac33.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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,
};

Expand Down

0 comments on commit 8d725b2

Please sign in to comment.