]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rockchip: i2s: Make playback/capture optional
authorSugar Zhang <sugar.zhang@rock-chips.com>
Thu, 26 Aug 2021 04:02:37 +0000 (12:02 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 26 Aug 2021 12:59:37 +0000 (13:59 +0100)
commite65cacc02e3daa3e0da8e11f821360ec803e469c
tree415c0a2d89ac6a6ffcf6a8fa9ce6be9392bdc05e
parent772c26bc034c749eedb01b45c180c89b369dda9e
ASoC: rockchip: i2s: Make playback/capture optional

There are some controllers which support playback only or
capture only. so, make it optional. and initial capability
by 'dma-names' of DT.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Link: https://lore.kernel.org/r/1629950562-14281-4-git-send-email-sugar.zhang@rock-chips.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_i2s.c