mbox series

[0/2] ASoC: ti: davinci-mcasp: sample format constraint fixes

Message ID 20190726064244.3762-1-peter.ujfalusi@ti.com (mailing list archive)
Headers show
Series ASoC: ti: davinci-mcasp: sample format constraint fixes | expand

Message

Peter Ujfalusi July 26, 2019, 6:42 a.m. UTC
Hi,

The two patch fixes two issues on how the driver have placed constraints on the
format size.
1. When the first stream starts and the TDM slot_width is configured we can
   allow formats which require less or equal number of bits on the bus.
2. For the second stream we must allow only formats which uses exact number of
   bits on the bus.

These issues are visible around the S24_3LE, S24_LE and S32_LE formats.
  
Regards,
Peter
---
Peter Ujfalusi (2):
  ASoC: ti: davinci-mcasp: Correct slot_width posed constraint
  ASoC: ti: davinci-mcasp: Support for correct symmetric sample bits

 sound/soc/ti/davinci-mcasp.c | 91 +++++++++++++++++++++++++++++++-----
 1 file changed, 79 insertions(+), 12 deletions(-)