ASoC: pcm3168a: add HW constraint for non RIGHT_J
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 12 Oct 2018 06:31:00 +0000 (06:31 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 12 Oct 2018 16:52:06 +0000 (18:52 +0200)
commit3809688980205622f75ed5d5890759430da4e7e4
tree06e290e243c400e56ec7ec587d5f1cddae2743be
parenta23f5dc8448694a0ffe2127a04aa5787b9cf9e5f
ASoC: pcm3168a: add HW constraint for non RIGHT_J

RIGHT_J only can handle 16bit data bits.
Current driver just errored if user requests non RIGHT_J
+ 16bit combination. But it is not useful for user.
This patch adds HW constraint for it, and avoid
error on such situation.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/pcm3168a.c