Re: [PATCH v5] ASoC: max98090: remove 24-bit format support if RJ is 0

2019-06-17 Thread Mark Brown
On Mon, Jun 17, 2019 at 11:55:26AM +0800, Yu-Hsuan Hsu wrote: > + /* > + * When TDM = 0, remove 24-bit format support if it is not in right > + * justified mode. > + */ > + if (!max98090->tdm_slots && > + (fmt & SND_SOC_DAIFMT_FORMAT_MASK) !=

[PATCH v5] ASoC: max98090: remove 24-bit format support if RJ is 0

2019-06-16 Thread Yu-Hsuan Hsu
The supported formats are S16_LE and S24_LE now. However, S24_LE is not supported when TDM is 0 and it is not in the right justified mode. We should remove 24-bit format in that situation to avoid triggering error. Signed-off-by: Yu-Hsuan Hsu --- The datasheet said that when TDM=0 and RJ=0,