Merge pull request #42 from ranj063/dai_id

topology: fix BE DAI id to be set to ID (not index)
This commit is contained in:
Liam Girdwood 2018-07-24 10:02:10 +01:00 committed by GitHub
commit 48de25287e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ dnl DAI_CONFIG(type, idx, link_id, name, ssp_config/dmic_config)
define(`DAI_CONFIG', define(`DAI_CONFIG',
`SectionHWConfig."'$1$2`" {' `SectionHWConfig."'$1$2`" {'
`' `'
` id "'$2`"' ` id "'$3`"'
`' `'
` ifelse($1, `SSP', $5, `}')' ` ifelse($1, `SSP', $5, `}')'
`ifelse($1, `DMIC', $5, `')' `ifelse($1, `DMIC', $5, `')'
@ -148,7 +148,7 @@ define(`DAI_CONFIG',
`SectionBE."'$4`" {' `SectionBE."'$4`" {'
` id "'$3`"' ` id "'$3`"'
` index "0"' ` index "0"'
` default_hw_conf_id "'$2`"' ` default_hw_conf_id "'$3`"'
`' `'
` hw_configs [' ` hw_configs ['
` "'$1$2`"' ` "'$1$2`"'