]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: max98090: remove 24-bit format support if RJ is 0
authorYu-Hsuan Hsu <yuhsuan@chromium.org>
Tue, 4 Jun 2019 10:49:09 +0000 (18:49 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 4 Jun 2019 14:33:28 +0000 (15:33 +0100)
commit5628c8979642a076f91ee86c3bae5ad251639af0
treebb2734b7db061082136568c25ec9a9abbd66b0fd
parentcbc0fa7b6e8c6180c18fd951d28197281a526330
ASoC: max98090: remove 24-bit format support if RJ is 0

The supported formats are S16_LE and S24_LE now. However, by datasheet
of max98090, S24_LE is only supported when it is in the right justified
mode. We should remove 24-bit format if it is not in that mode to avoid
triggering error.

Signed-off-by: Yu-Hsuan Hsu <yuhsuan@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98090.c