ASoC: axi-i2s: let both capture and playback be optional
authorLuca Ceresoli <luca@lucaceresoli.net>
Thu, 7 Mar 2019 21:44:55 +0000 (22:44 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 11 Mar 2019 17:17:38 +0000 (17:17 +0000)
commit7bf7d0554890c53478ec04d3d4bfced0c881f6c8
treee84d69196cd95b5518dfc56d73ed5ec0f4c3a3f3
parent7d7b25d05ef1c5a1a9320190e1eeb55534847558
ASoC: axi-i2s: let both capture and playback be optional

Both the capture and playback channels are optional in the axi_i2s IP
block. Reflect this in the driver by enabling only the channel(s) that
have a DMA.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/adi/axi-i2s.c