summaryrefslogtreecommitdiff
path: root/firmware/target/arm/pcm-pp.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/pcm-pp.c')
-rw-r--r--firmware/target/arm/pcm-pp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/pcm-pp.c b/firmware/target/arm/pcm-pp.c
index 9027ff13b3..0608c208eb 100644
--- a/firmware/target/arm/pcm-pp.c
+++ b/firmware/target/arm/pcm-pp.c
@@ -377,7 +377,7 @@ void fiq_record(void)
377 if (audio_channels == 2) { 377 if (audio_channels == 2) {
378 /* RX is stereo */ 378 /* RX is stereo */
379 while (p_size > 0) { 379 while (p_size > 0) {
380 if (FIFO_FREE_COUNT < 2) { 380 if (FIFO_FREE_COUNT < 8) {
381 /* enable interrupt */ 381 /* enable interrupt */
382 IISCONFIG |= (1 << 0); 382 IISCONFIG |= (1 << 0);
383 goto fiq_record_exit; 383 goto fiq_record_exit;
@@ -401,7 +401,7 @@ void fiq_record(void)
401 else { 401 else {
402 /* RX is left channel mono */ 402 /* RX is left channel mono */
403 while (p_size > 0) { 403 while (p_size > 0) {
404 if (FIFO_FREE_COUNT < 2) { 404 if (FIFO_FREE_COUNT < 8) {
405 /* enable interrupt */ 405 /* enable interrupt */
406 IISCONFIG |= (1 << 0); 406 IISCONFIG |= (1 << 0);
407 goto fiq_record_exit; 407 goto fiq_record_exit;