Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 689aca72 authored by Yu-Hsuan Hsu's avatar Yu-Hsuan Hsu Committed by Greg Kroah-Hartman
Browse files

ASoC: max98090: remove 24-bit format support if RJ is 0



[ Upstream commit 5628c8979642a076f91ee86c3bae5ad251639af0 ]

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: default avatarYu-Hsuan Hsu <yuhsuan@chromium.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b9c6c4d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment