mirror of https://github.com/thesofproject/sof.git
topology1: imx8ulp: overwrite CHANNELS_MIN
On 8ULP SAI is connected to BT which supports
only 1 channel for both playback and record.
Fixes: aaff352314
('topology1: pipe-volume-capture.m4: Set minimum number of channels to 2')
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
parent
7c0c8a400c
commit
a6700afea1
|
@ -25,7 +25,8 @@ include(`platform/imx/imx8.m4')
|
|||
# PCM0 <----> volume <-----> SAI6 (connect to BT)
|
||||
#
|
||||
|
||||
define(`CHANNELS_MIN', 1)
|
||||
# SAI6 is connected to BT which supports only 1 channel for playback and record
|
||||
ifdef(`CHANNELS_MIN', `', `define(CHANNELS_MIN, 1)')
|
||||
|
||||
dnl PIPELINE_PCM_ADD(pipeline,
|
||||
dnl pipe id, pcm, max channels, format,
|
||||
|
@ -40,8 +41,6 @@ PIPELINE_PCM_ADD(sof/pipe-volume-playback.m4,
|
|||
1000, 0, 0,
|
||||
`RATE', `RATE', `RATE')
|
||||
|
||||
undefine(`CHANNELS_MIN')
|
||||
|
||||
# Low Latency capture pipeline 2 on PCM 0 using max 1 channels of s16le.
|
||||
# Set 1000us deadline with priority 0 on core 0
|
||||
PIPELINE_PCM_ADD(sof/pipe-volume-capture.m4,
|
||||
|
|
|
@ -25,7 +25,8 @@ include(`platform/imx/imx8.m4')
|
|||
# PCM0 <----> volume <-----> SAI5 (connect to BT)
|
||||
#
|
||||
|
||||
define(`CHANNELS_MIN', 1)
|
||||
# SAI5 is connected to BT which supports only 1 channel for playback and record
|
||||
ifdef(`CHANNELS_MIN', `', `define(CHANNELS_MIN, 1)')
|
||||
|
||||
dnl PIPELINE_PCM_ADD(pipeline,
|
||||
dnl pipe id, pcm, max channels, format,
|
||||
|
@ -40,14 +41,13 @@ PIPELINE_PCM_ADD(sof/pipe-volume-playback.m4,
|
|||
1000, 0, 0,
|
||||
`RATE', `RATE', `RATE')
|
||||
|
||||
undefine(`CHANNELS_MIN')
|
||||
|
||||
# Low Latency capture pipeline 2 on PCM 0 using max 1 channels of s16le.
|
||||
# Set 1000us deadline with priority 0 on core 0
|
||||
PIPELINE_PCM_ADD(sof/pipe-volume-capture.m4,
|
||||
2, 0, 1, s16le,
|
||||
1000, 0, 0,
|
||||
`RATE', `RATE', `RATE')
|
||||
|
||||
#
|
||||
# DAIs configuration
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue