diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-01-18 12:18:25 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-20 14:58:31 +0100 |
commit | 8d725b2bcb82ff46236bf745c9ab7cc4dde74699 (patch) | |
tree | 674834bebbc6e7348484bdcc21c4f86822d6cb53 /sound/soc/codecs/tlv320dac33.c | |
parent | ASoC: sgtl5000: Print revision number in hex (diff) | |
download | linux-8d725b2bcb82ff46236bf745c9ab7cc4dde74699.tar.xz linux-8d725b2bcb82ff46236bf745c9ab7cc4dde74699.zip |
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>
Diffstat (limited to 'sound/soc/codecs/tlv320dac33.c')
-rw-r--r-- | sound/soc/codecs/tlv320dac33.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c index f0aad26cdb31..21ccf0a616a9 100644 --- a/sound/soc/codecs/tlv320dac33.c +++ b/sound/soc/codecs/tlv320dac33.c @@ -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, }; |