[Sound-open-firmware] [PATCH] cnl & apl: ssp: fix a typo for SOF failed with pulseAudio
Rander Wang
rander.wang at linux.intel.com
Thu Mar 22 00:30:15 CET 2018
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 at linux.intel.com>
Signed-off-by: Keyon Jie <yang.jie at 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");
}
--
2.14.1
More information about the Sound-open-firmware
mailing list