mirror of https://github.com/thesofproject/sof.git
topology2: fix number range between 1 and 1000 used by Regex
Since IncludeByKey uses Regular expressions to validate text match, the expression [1-1000] does not filter number between 1 to 1000 as intended. For example, DEEPBUFFER_FW_DMA_MS=0 results in matched while DEEPBUFFER_FW_DMA_MS=5 returns not found, fix with regex flavor pattern. Signed-off-by: Yong Zhi <yong.zhi@intel.com>
This commit is contained in:
parent
fda59fb7d4
commit
94f8b0c4d4
|
@ -11,7 +11,7 @@ Define {
|
|||
|
||||
# include deep buffer config if buffer size is in 1 - 1000 ms.
|
||||
IncludeByKey.DEEPBUFFER_FW_DMA_MS{
|
||||
"[1-1000]" "platform/intel/deep-buffer.conf"
|
||||
"([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|1000)" "platform/intel/deep-buffer.conf"
|
||||
}
|
||||
|
||||
Object.Dai.HDA [
|
||||
|
|
|
@ -101,7 +101,7 @@ IncludeByKey.NUM_DMICS {
|
|||
IncludeByKey.PASSTHROUGH {
|
||||
"false" {
|
||||
IncludeByKey.DEEPBUFFER_FW_DMA_MS{
|
||||
"[1-1000]" "platform/intel/deep-buffer.conf"
|
||||
"([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|1000)" "platform/intel/deep-buffer.conf"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -118,7 +118,7 @@ IncludeByKey.NUM_HDMIS {
|
|||
|
||||
# include deep buffer config if buffer size is in 1 - 1000 ms.
|
||||
IncludeByKey.DEEPBUFFER_FW_DMA_MS{
|
||||
"[1-1000]" "platform/intel/deep-buffer.conf"
|
||||
"([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|1000)" "platform/intel/deep-buffer.conf"
|
||||
}
|
||||
|
||||
IncludeByKey.INCLUDE_ECHO_REF {
|
||||
|
|
|
@ -11,7 +11,7 @@ Define {
|
|||
|
||||
# include deep buffer config if buffer size is in 1 - 1000 ms.
|
||||
IncludeByKey.DEEPBUFFER_FW_DMA_MS{
|
||||
"[1-1000]" "platform/intel/deep-buffer.conf"
|
||||
"([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|1000)" "platform/intel/deep-buffer.conf"
|
||||
}
|
||||
|
||||
Object.Dai.HDA [
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# include deep buffer config if buffer size is in 1 - 1000 ms.
|
||||
IncludeByKey.DEEPBUFFER_FW_DMA_MS{
|
||||
"[1-1000]" "platform/intel/deep-buffer.conf"
|
||||
IncludeByKey.DEEPBUFFER_FW_DMA_MS {
|
||||
"([1-9]|[1-9][0-9]|[1-9][0-9][0-9]|1000)" "platform/intel/deep-buffer.conf"
|
||||
}
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue