]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rockchip: i2s: separate capture and playback
authorJohn Keeping <john@metanate.com>
Wed, 9 Dec 2015 10:32:26 +0000 (10:32 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 9 Dec 2015 20:41:49 +0000 (20:41 +0000)
commit99219d9b8369a0947a3a6032571c725f5cf43657
tree70a65904f9f088641198766cbba27a19513b5185
parentd249913b4a88a9a5101313be6ea4f42c1ccaad05
ASoC: rockchip: i2s: separate capture and playback

If we only clear the tx/rx state when both are disabled it is not
possible to start/stop one multiple times while the other is running.
Since the two are independently controlled, treat them as such and
remove the false dependency between capture and playback.

Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_i2s.c