]> asedeno.scripts.mit.edu Git - linux.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)
commiteba65d179c1149cf79e68608d452631f33d7f017
tree70a65904f9f088641198766cbba27a19513b5185
parent7fd9093a7570f5d8bbdc8014c0a349da2afea97e
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