UPSTREAM: ASoC: rockchip: i2s: rename I2S_CKR_TRCM_TX/RXSHARE to I2S_CKR_TRCM_TX...
authorSugar Zhang <sugar.zhang@rock-chips.com>
Tue, 24 May 2016 03:47:46 +0000 (11:47 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Wed, 25 May 2016 06:05:21 +0000 (14:05 +0800)
commitb725b6091aa03a6f6fa36ba4d89a9159adb6d2fa
treed7123a79014ff4b367b2d7042a3b13f7d5fe4fea
parentf970ae6d0560be87ddfa5caeb93b4429457e3c0b
UPSTREAM: ASoC: rockchip: i2s: rename I2S_CKR_TRCM_TX/RXSHARE to I2S_CKR_TRCM_TX/RXONLY

this patch make it more reasonable and readable, because when we chose
I2S_CKR_TRCM_TXONLY, we only output clk_lrck_tx, and hardware need to
confirm this signal is wired to external codec lrck_tx/rx at the same time.

for convenience, we just handle lrck_txonly if we enable symmetric_rates
in driver and dai_link. otherwise, we use the separate lrck_tx/rx.

Change-Id: I383c34d2337715148566f7e2ada367f2ee279cb5
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
(cherry picked from git.kernel.org broonie/sound.git topic/rockchip
 commit 7ec4a1c34a190297540626dfa240dc033beca196)
sound/soc/rockchip/rockchip_i2s.c
sound/soc/rockchip/rockchip_i2s.h