ASoC: rsnd: add support for 16/24 bit slot widths
authorDragos Tarcatu <[email protected]>
Mon, 3 Sep 2018 07:05:42 +0000 (07:05 +0000)
committerMark Brown <[email protected]>
Mon, 3 Sep 2018 13:37:12 +0000 (14:37 +0100)
commitfb2815f44a9eb341ed8990263855a266960a5135
tree137eeb167b11b2ee751ea2b0010d928386d4ad62
parentb5c088689847372794500f83b65673aaa8ca4d8d
ASoC: rsnd: add support for 16/24 bit slot widths

The slot width (system word length) was fixed at 32 bits.
This patch allows also setting it to 16 or 24 bits.

Signed-off-by: Dragos Tarcatu <[email protected]>
Signed-off-by: Jiada Wang <[email protected]>
Signed-off-by: Timo Wischer <[email protected]>
[Kuninori: tidyup for upstream]
Signed-off-by: Kuninori Morimoto <[email protected]>
Tested-by: Hiroyuki Yokoyama <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/sh/rcar/core.c
sound/soc/sh/rcar/rsnd.h
sound/soc/sh/rcar/ssi.c