Hi Mark,
I would prefer to have the msbits constraints to be applied to only sample sizes bigger than the requested msbits from dais. I'm resending your patch plus the modification which will make the possible. I have also converted the drivers I know have this constraint.
If you prefer, you can squash the first two patch.
Regards, Peter --- Mark Brown (2): ASoC: Allow drivers to specify how many bits are significant on a DAI ASoC: 24 bits are significant on the WM8996 audio interfaces
Peter Ujfalusi (5): ASoC: Apply msbits constraint for sample size bigger than the msbits ASoC: omap-dmic: Use core to set the msbits constraint ASoC: omap-mcpdm: Set 24msbits constraint ASoC: tlv320dac33: Use core to set the msbits constraint ASoC: twl4030: Use core to set the msbits constraint
include/sound/soc.h | 1 + sound/soc/codecs/tlv320dac33.c | 3 +-- sound/soc/codecs/twl4030.c | 7 ++++--- sound/soc/codecs/wm8996.c | 4 ++++ sound/soc/omap/omap-dmic.c | 7 +++---- sound/soc/omap/omap-mcpdm.c | 2 ++ sound/soc/soc-pcm.c | 38 ++++++++++++++++++++++++++++++++++++++ 7 files changed, 53 insertions(+), 9 deletions(-)