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>
This commit is contained in:
Luca Ceresoli 2019-03-07 22:44:55 +01:00 • committed by Mark Brown
commit 7bf7d05548
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0