]> 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)
commit2d8fb45eef2c415698fef93918bb572787c3fa25
tree70a65904f9f088641198766cbba27a19513b5185
parentead00643a0fd1873f2f659d2952ed3cc0874d20e
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