]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd1a284db2cad451ed06c1678c2d07b8282d828cd
tree06e290e243c400e56ec7ec587d5f1cddae2743be
parent50d56b62fb8549f2640e118beac7a34091f2cdf4
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