mirror of
https://github.com/torvalds/linux.git
synced 2024-12-12 06:02:38 +00:00
ASoC: omap-mcpdm: Set 24msbits constraint
McPDM internal FIFO is 24 bit wide. From the 32 bit sample 8 bit is discarded. Let application know about this via msbits constraint. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
7df6f2551f
commit
b4badd4960
@ -419,12 +419,14 @@ static struct snd_soc_dai_driver omap_mcpdm_dai = {
|
|||||||
.channels_max = 5,
|
.channels_max = 5,
|
||||||
.rates = OMAP_MCPDM_RATES,
|
.rates = OMAP_MCPDM_RATES,
|
||||||
.formats = OMAP_MCPDM_FORMATS,
|
.formats = OMAP_MCPDM_FORMATS,
|
||||||
|
.sig_bits = 24,
|
||||||
},
|
},
|
||||||
.capture = {
|
.capture = {
|
||||||
.channels_min = 1,
|
.channels_min = 1,
|
||||||
.channels_max = 3,
|
.channels_max = 3,
|
||||||
.rates = OMAP_MCPDM_RATES,
|
.rates = OMAP_MCPDM_RATES,
|
||||||
.formats = OMAP_MCPDM_FORMATS,
|
.formats = OMAP_MCPDM_FORMATS,
|
||||||
|
.sig_bits = 24,
|
||||||
},
|
},
|
||||||
.ops = &omap_mcpdm_dai_ops,
|
.ops = &omap_mcpdm_dai_ops,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user