ASoC: mediatek: mt8183: support left justified format for I2S
authorTzung-Bi Shih <tzungbi@google.com>
Mon, 20 Jul 2020 01:25:57 +0000 (09:25 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 22 Jul 2020 13:02:00 +0000 (14:02 +0100)
commit767ee388ab8aee021bbb5a34173c656f3c038a46
treededf71373e037d5ba06793dc46f4fb82b443226f
parent43a10bf49f11a952ea927beceb9f6ee866ff1523
ASoC: mediatek: mt8183: support left justified format for I2S

MT8183 audio platform supports EIAJ and I2S formats.  The code fixed to
use I2S format in the past.

Supports EIAJ mode via set_fmt ops and preserves to use I2S format as
the default format intentionally.

Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20200720012559.906088-2-tzungbi@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8183/mt8183-dai-i2s.c