[Sound-open-firmware] [PATCH] cnl & apl: ssp: fix a typo for SOF failed with pulseAudio
Refine ssp setting, set SSRSA to stop capture, set SSTSA to stop playback
--- Test with: CNL-Y nocode SOF 1.1-stable:ffd9093267aa8d SOF-Tool 1.1-stable:cc91c73aa3e91eea Kernel:https://github.com/plbossart/sound.git 4881a4bd906f8b52b
Signed-off-by: Rander Wang rander.wang@linux.intel.com Signed-off-by: Keyon Jie yang.jie@linux.intel.com --- src/drivers/apl-ssp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/drivers/apl-ssp.c b/src/drivers/apl-ssp.c index c26f2a0..6424b7d 100644 --- a/src/drivers/apl-ssp.c +++ b/src/drivers/apl-ssp.c @@ -545,14 +545,14 @@ static void ssp_stop(struct dai *dai) /* stop Rx if we are not capturing */ if (ssp->state[SOF_IPC_STREAM_CAPTURE] != COMP_STATE_ACTIVE) { ssp_update_bits(dai, SSCR1, SSCR1_RSRE, 0); - ssp_update_bits(dai, SSTSA, 0x1 << 8, 0x0 << 8); + ssp_update_bits(dai, SSRSA, 0x1 << 8, 0x0 << 8); trace_ssp("Ss0"); }
/* stop Tx if we are not playing */ if (ssp->state[SOF_IPC_STREAM_PLAYBACK] != COMP_STATE_ACTIVE) { ssp_update_bits(dai, SSCR1, SSCR1_TSRE, 0); - ssp_update_bits(dai, SSRSA, 0x1 << 8, 0x0 << 8); + ssp_update_bits(dai, SSTSA, 0x1 << 8, 0x0 << 8); trace_ssp("Ss1"); }
On Thu, 2018-03-22 at 07:30 +0800, Rander Wang wrote:
Refine ssp setting, set SSRSA to stop capture, set SSTSA to stop playback
Test with: CNL-Y nocode SOF 1.1-stable:ffd9093267aa8d SOF-Tool 1.1-stable:cc91c73aa3e91eea Kernel:https://github.com/plbossart/sound.git 4881a4bd906f8b52b
Signed-off-by: Rander Wang rander.wang@linux.intel.com Signed-off-by: Keyon Jie yang.jie@linux.intel.com
Thanks
Applied.
Liam
participants (2)
-
Liam Girdwood
-
Rander Wang