ASoC: meson: axg-tdm: restrict formats depending on slot width
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 27 Aug 2018 14:21:07 +0000 (16:21 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 28 Aug 2018 18:53:35 +0000 (19:53 +0100)
commit302df2694b97e6a56f7956c1105630809b141ea0
tree6167770ded11fc58743dd6b4e78372174edf3496
parentdadfab7272b13ca441efdb9aa9117bc669680b05
ASoC: meson: axg-tdm: restrict formats depending on slot width

Restrict the formats possible on the TDM interface depending on the width
of the TDM slot and let dpcm merging do the rest.

Fixes: d60e4f1e4be5 ("ASoC: meson: add tdm interface driver")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/meson/axg-tdm-interface.c